Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 106.2 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 189.2 kB / 24.51 MB, free: 4.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2477/0.2477, allocations: 44.91 MB / 353.5 MB, free: 11.79 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.89 kB / 497.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4067, allocations: 64.29 MB / 0.5488 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004751/0.4114, allocations: 2.864 MB / 0.5516 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.4131, allocations: 0.7255 MB / 0.5523 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.4133, allocations: 11.62 kB / 0.5523 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.4136, allocations: 65.91 kB / 0.5524 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.4139, allocations: 129 kB / 0.5525 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.4142, allocations: 88.31 kB / 0.5526 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005942/0.4148, allocations: 446.3 kB / 0.553 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.4152, allocations: 133.3 kB / 0.5531 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.4154, allocations: 180.6 kB / 0.5533 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.4157, allocations: 195 kB / 0.5535 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.95e-05/0.4158, allocations: 39.75 kB / 0.5535 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.787e-05/0.4159, allocations: 34.38 kB / 0.5536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.827e-05/0.416, allocations: 86.38 kB / 0.5537 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.4162, allocations: 201.7 kB / 0.5539 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006325/0.4169, allocations: 457.7 kB / 0.5543 GB, free: 8.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4169, allocations: 1.094 kB / 0.5543 GB, free: 8.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4169, allocations: 0 / 0.5543 GB, free: 8.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.4169, allocations: 0 / 0.5543 GB, free: 8.891 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001153/0.418, allocations: 0.602 MB / 0.5549 GB, free: 8.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4181, allocations: 10.58 kB / 0.5549 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.72e-05/0.4182, allocations: 46.09 kB / 0.5549 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.4186, allocations: 224.1 kB / 0.5551 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.4187, allocations: 36.62 kB / 0.5552 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.4188, allocations: 46.36 kB / 0.5552 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007373/0.4195, allocations: 384.4 kB / 0.5556 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.4195, allocations: 2.625 kB / 0.5556 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.4196, allocations: 14.66 kB / 0.5556 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.4196, allocations: 9.719 kB / 0.5556 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.4201, allocations: 252.8 kB / 0.5559 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.422, allocations: 1.048 MB / 0.5569 GB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.4227, allocations: 336.1 kB / 0.5572 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.423, allocations: 154.5 kB / 0.5573 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.423, allocations: 11.94 kB / 0.5574 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.4231, allocations: 42.55 kB / 0.5574 GB, free: 6.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.4231, allocations: 0 / 0.5574 GB, free: 6.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003936/0.427, allocations: 2.017 MB / 0.5594 GB, free: 4.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.4271, allocations: 110.8 kB / 0.5595 GB, free: 4.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.4273, allocations: 241.9 kB / 0.5597 GB, free: 3.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.4274, allocations: 37.7 kB / 0.5597 GB, free: 3.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.4275, allocations: 184.9 kB / 0.5599 GB, free: 3.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.4277, allocations: 202.2 kB / 0.5601 GB, free: 3.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.4278, allocations: 90.3 kB / 0.5602 GB, free: 3.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.428, allocations: 350.7 kB / 0.5605 GB, free: 3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.4283, allocations: 125.2 kB / 0.5607 GB, free: 2.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.4286, allocations: 236.7 kB / 0.5609 GB, free: 2.609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/0.4293, allocations: 390 kB / 0.5612 GB, free: 2.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4293, allocations: 0 / 0.5612 GB, free: 2.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001063/0.4303, allocations: 0.5578 MB / 0.5618 GB, free: 1.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.4303, allocations: 9.406 kB / 0.5618 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4304, allocations: 0 / 0.5618 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/0.4307, allocations: 130.5 kB / 0.5619 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.4311, allocations: 91.89 kB / 0.562 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004574/0.4357, allocations: 4.911 MB / 0.5668 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.436, allocations: 23.97 kB / 0.5668 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.436, allocations: 19.98 kB / 0.5669 GB, free: 12.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002392/0.4362, allocations: 173.7 kB / 0.567 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.4364, allocations: 39.77 kB / 0.5671 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.4365, allocations: 46.11 kB / 0.5671 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.4365, allocations: 8 kB / 0.5671 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.4365, allocations: 7.938 kB / 0.5671 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4365, allocations: 3.984 kB / 0.5671 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.4387, allocations: 1.288 MB / 0.5684 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.4387, allocations: 4 kB / 0.5684 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.4391, allocations: 95.81 kB / 0.5685 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002939/0.4394, allocations: 94.45 kB / 0.5686 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.4395, allocations: 15.94 kB / 0.5686 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003958/0.4434, allocations: 4.117 MB / 0.5726 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.4434, allocations: 4.266 kB / 0.5726 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.445, allocations: 0.9181 MB / 0.5735 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4451, allocations: 43.8 kB / 0.5735 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.4451, allocations: 12 kB / 0.5736 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.4454, allocations: 12 kB / 0.5736 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.4455, allocations: 55.78 kB / 0.5736 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.4456, allocations: 16 kB / 0.5736 GB, free: 4.676 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.4458, allocations: 173.2 kB / 0.5738 GB, free: 4.508 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4458, allocations: 0 / 0.5738 GB, free: 4.508 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007968/0.4466, allocations: 120 kB / 0.5739 GB, free: 4.391 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001693/0.4467, allocations: 115.7 kB / 0.574 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.4483, allocations: 0.768 MB / 0.5748 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.4483, allocations: 0 / 0.5748 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008831/0.4492, allocations: 0.5587 MB / 0.5753 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.4499, allocations: 59.41 kB / 0.5754 GB, free: 2.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.452, allocations: 1.092 MB / 0.5764 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.4526, allocations: 0.8241 MB / 0.5772 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.4527, allocations: 31.28 kB / 0.5773 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.4528, allocations: 31.44 kB / 0.5773 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4528, allocations: 0 / 0.5773 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of Templates: time 0.01114/0.4639, allocations: 4.863 MB / 0.5821 GB, free: 11.91 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.753290129825473]