Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001791/0.001791, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002233/0.002233, allocations: 214 kB / 23.54 MB, free: 5.387 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 230.2 MB / 256.8 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2223/0.2223, allocations: 46.89 MB / 359.9 MB, free: 5.012 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 79.88 kB / 0.495 GB, free: 8.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3364, allocations: 65.98 MB / 0.5594 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004327/0.3407, allocations: 2.857 MB / 0.5622 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3424, allocations: 0.7751 MB / 0.5629 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.3426, allocations: 11.94 kB / 0.563 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.3429, allocations: 59.33 kB / 0.563 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.3432, allocations: 134.8 kB / 0.5631 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.3436, allocations: 111.8 kB / 0.5632 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.344, allocations: 430 kB / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.3443, allocations: 113.6 kB / 0.5638 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.3446, allocations: 171.4 kB / 0.5639 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.3448, allocations: 179.2 kB / 0.5641 GB, free: 356 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.3449, allocations: 32 kB / 0.5641 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.345, allocations: 36 kB / 0.5642 GB, free: 288 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.345, allocations: 83.69 kB / 0.5642 GB, free: 204 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.3452, allocations: 195 kB / 0.5644 GB, free: 8 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005554/0.3458, allocations: 444.5 kB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3458, allocations: 0 / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3458, allocations: 0 / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.3458, allocations: 0 / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001064/0.3469, allocations: 0.6703 MB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3469, allocations: 8.031 kB / 0.5655 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.3472, allocations: 60.67 kB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.3476, allocations: 288.6 kB / 0.5658 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.3477, allocations: 29.38 kB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.3477, allocations: 44.33 kB / 0.5659 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.3484, allocations: 390.5 kB / 0.5663 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.3484, allocations: 15.89 kB / 0.5663 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.3485, allocations: 16 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3485, allocations: 8 kB / 0.5663 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.3489, allocations: 219.7 kB / 0.5665 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.3513, allocations: 1.715 MB / 0.5682 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.3518, allocations: 262.3 kB / 0.5685 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.352, allocations: 86.08 kB / 0.5685 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.352, allocations: 8.234 kB / 0.5686 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.352, allocations: 46.48 kB / 0.5686 GB, free: 11.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.763e-06/0.352, allocations: 0 / 0.5686 GB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006884/0.3527, allocations: 265.5 kB / 0.5688 GB, free: 11.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.3529, allocations: 213.6 kB / 0.5691 GB, free: 10.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.3532, allocations: 279.2 kB / 0.5693 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3532, allocations: 25.7 kB / 0.5693 GB, free: 10.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.3534, allocations: 255.9 kB / 0.5696 GB, free: 10.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.3535, allocations: 126.9 kB / 0.5697 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.3536, allocations: 102.3 kB / 0.5698 GB, free: 10.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3538, allocations: 350.7 kB / 0.5701 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.354, allocations: 93.27 kB / 0.5702 GB, free: 9.656 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.3545, allocations: 428.8 kB / 0.5706 GB, free: 9.078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/0.3553, allocations: 0.5667 MB / 0.5712 GB, free: 8.352 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.3553, allocations: 4.5 kB / 0.5712 GB, free: 8.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009141/0.3562, allocations: 0.5361 MB / 0.5717 GB, free: 7.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.3562, allocations: 8 kB / 0.5717 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.3562, allocations: 12 kB / 0.5717 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/0.3563, allocations: 19.98 kB / 0.5718 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.3567, allocations: 148.4 kB / 0.5719 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/0.3567, allocations: 23.92 kB / 0.5719 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.3571, allocations: 67.56 kB / 0.572 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.3571, allocations: 36 kB / 0.572 GB, free: 7.496 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002153/0.3573, allocations: 185.5 kB / 0.5722 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.3575, allocations: 31.81 kB / 0.5722 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.499e-05/0.3576, allocations: 33.83 kB / 0.5723 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.3576, allocations: 4 kB / 0.5723 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3576, allocations: 0 / 0.5723 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3576, allocations: 8 kB / 0.5723 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.3589, allocations: 0.6475 MB / 0.5729 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.3589, allocations: 7.984 kB / 0.5729 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.3593, allocations: 87.89 kB / 0.573 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.3593, allocations: 4 kB / 0.573 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.3594, allocations: 8 kB / 0.573 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.3594, allocations: 15.98 kB / 0.573 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3594, allocations: 0 / 0.573 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008143/0.3602, allocations: 0.8296 MB / 0.5738 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3603, allocations: 108.8 kB / 0.5739 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.3604, allocations: 8 kB / 0.5739 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.3607, allocations: 15.94 kB / 0.574 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.3608, allocations: 27.91 kB / 0.574 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.3608, allocations: 11.98 kB / 0.574 GB, free: 5.352 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.361, allocations: 190 kB / 0.5742 GB, free: 5.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.361, allocations: 0 / 0.5742 GB, free: 5.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007348/0.3617, allocations: 99.89 kB / 0.5743 GB, free: 5.066 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001495/0.3619, allocations: 106.4 kB / 0.5744 GB, free: 4.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005856/0.3624, allocations: 278.3 kB / 0.5746 GB, free: 4.684 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3624, allocations: 4.062 kB / 0.5746 GB, free: 4.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.3626, allocations: 96.67 kB / 0.5747 GB, free: 4.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009667/0.3636, allocations: 79.72 kB / 0.5748 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.366, allocations: 1.585 MB / 0.5764 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.3665, allocations: 0.8065 MB / 0.5771 GB, free: 2.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.3665, allocations: 31.44 kB / 0.5772 GB, free: 2 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3666, allocations: 0 / 0.5772 GB, free: 2 MB / 414.1 MB Notification: Performance of Templates: time 0.007364/0.3739, allocations: 4.23 MB / 0.5813 GB, free: 13.77 MB / 430.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches