Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.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.001363/0.001363, allocations: 104.6 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.001651/0.001651, 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.515/1.515, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.2369/0.2369, allocations: 44.91 MB / 353.5 MB, free: 11.84 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.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002931/0.002931, allocations: 67.89 kB / 497.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.433, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008073/0.441, allocations: 5.812 MB / 0.5545 GB, free: 8.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005303/0.4463, allocations: 2.315 MB / 0.5567 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.4477, allocations: 57.03 kB / 0.5568 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006763/0.4484, allocations: 232.1 kB / 0.557 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007671/0.4492, allocations: 182.1 kB / 0.5572 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.4507, allocations: 479.7 kB / 0.5576 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.4521, allocations: 1.1 MB / 0.5587 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007421/0.4529, allocations: 434 kB / 0.5591 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005771/0.4534, allocations: 386.7 kB / 0.5595 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004544/0.4539, allocations: 394 kB / 0.5599 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.454, allocations: 92 kB / 0.56 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.4544, allocations: 159.9 kB / 0.5601 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.4546, allocations: 219.2 kB / 0.5603 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004517/0.455, allocations: 461.7 kB / 0.5608 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.4566, allocations: 1.279 MB / 0.562 GB, free: 1.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4566, allocations: 0 / 0.562 GB, free: 1.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4566, allocations: 0 / 0.562 GB, free: 1.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.719e-05/0.4567, allocations: 0 / 0.562 GB, free: 1.863 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001869/0.4585, allocations: 1.085 MB / 0.5631 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.4586, allocations: 12.92 kB / 0.5631 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.4588, allocations: 104.3 kB / 0.5632 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.4598, allocations: 0.5186 MB / 0.5637 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/0.4598, allocations: 70 kB / 0.5638 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.46, allocations: 99.94 kB / 0.5639 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.4617, allocations: 0.8853 MB / 0.5647 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/0.4617, allocations: 11.94 kB / 0.5647 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-05/0.4618, allocations: 39.94 kB / 0.5648 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.4618, allocations: 24 kB / 0.5648 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.463, allocations: 0.5229 MB / 0.5653 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004474/0.4675, allocations: 3.516 MB / 0.5687 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/0.4681, allocations: 202.7 kB / 0.5689 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.4683, allocations: 100.8 kB / 0.569 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.4684, allocations: 23.97 kB / 0.5691 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.4684, allocations: 34.56 kB / 0.5691 GB, free: 10.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.675e-06/0.4685, allocations: 0 / 0.5691 GB, free: 10.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002606/0.4711, allocations: 1.158 MB / 0.5702 GB, free: 9.121 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.4711, allocations: 59.34 kB / 0.5703 GB, free: 9.051 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00053/0.4716, allocations: 401.8 kB / 0.5707 GB, free: 8.652 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.4717, allocations: 29.7 kB / 0.5707 GB, free: 8.617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.472, allocations: 487.4 kB / 0.5711 GB, free: 8.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.4722, allocations: 138.8 kB / 0.5713 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.4723, allocations: 102.3 kB / 0.5714 GB, free: 7.887 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4725, allocations: 362.8 kB / 0.5717 GB, free: 7.523 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.4727, allocations: 113.2 kB / 0.5718 GB, free: 7.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.4731, allocations: 304.1 kB / 0.5721 GB, free: 7.031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007072/0.4738, allocations: 468.7 kB / 0.5726 GB, free: 6.488 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4738, allocations: 0 / 0.5726 GB, free: 6.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009192/0.4747, allocations: 0.5089 MB / 0.5731 GB, free: 5.969 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4748, allocations: 8 kB / 0.5731 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.4748, allocations: 4 kB / 0.5731 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002446/0.475, allocations: 45.61 kB / 0.5731 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.4754, allocations: 131.8 kB / 0.5732 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004971/0.4759, allocations: 0.5601 MB / 0.5738 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.4762, allocations: 20 kB / 0.5738 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.4762, allocations: 24 kB / 0.5738 GB, free: 5.152 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000432/0.4767, allocations: 229.6 kB / 0.5741 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4768, allocations: 59.67 kB / 0.5741 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008267/0.4776, allocations: 330.8 kB / 0.5744 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.4776, allocations: 4 kB / 0.5744 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.321e-05/0.4776, allocations: 4 kB / 0.5744 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.4776, allocations: 3.984 kB / 0.5744 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.4795, allocations: 1.018 MB / 0.5754 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.4796, allocations: 3.938 kB / 0.5754 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/0.4799, allocations: 83.89 kB / 0.5755 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.4802, allocations: 32.78 kB / 0.5755 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.4802, allocations: 12.16 kB / 0.5756 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005641/0.4808, allocations: 0.5484 MB / 0.5761 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.4808, allocations: 4.031 kB / 0.5761 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.4818, allocations: 0.5568 MB / 0.5766 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.4819, allocations: 35.72 kB / 0.5767 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.482, allocations: 8 kB / 0.5767 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.4821, allocations: 11.98 kB / 0.5767 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.4822, allocations: 35.89 kB / 0.5767 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.4822, allocations: 12 kB / 0.5767 GB, free: 2.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003548/0.4826, allocations: 271.1 kB / 0.577 GB, free: 1.758 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4826, allocations: 0 / 0.577 GB, free: 1.758 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006763/0.4833, allocations: 124 kB / 0.5771 GB, free: 1.637 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002757/0.4835, allocations: 115.2 kB / 0.5772 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007358/0.4843, allocations: 319.5 kB / 0.5775 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4843, allocations: 1.875 kB / 0.5775 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.4846, allocations: 137.1 kB / 0.5777 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.4851, allocations: 85.58 kB / 0.5777 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.4884, allocations: 1.643 MB / 0.5794 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/0.4892, allocations: 0.9522 MB / 0.5803 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000224/0.4895, allocations: 64.47 kB / 0.5803 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.302e-05/0.4896, allocations: 35.44 kB / 0.5804 GB, free: 14.22 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4896, allocations: 0 / 0.5804 GB, free: 14.22 MB / 430.1 MB Notification: Performance of Templates: time 0.01261/0.5022, allocations: 4.619 MB / 0.5849 GB, free: 9.629 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.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.496968690305948]