Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 219 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2288/0.2288, allocations: 44.27 MB / 330.4 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003669/0.003669, allocations: 68.98 kB / 467.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1468, allocations: 61.05 MB / 0.5161 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004038/0.1508, allocations: 2.638 MB / 0.5187 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.152, allocations: 0.7215 MB / 0.5194 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1522, allocations: 11.94 kB / 0.5194 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.1523, allocations: 55.38 kB / 0.5195 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.1526, allocations: 126.9 kB / 0.5196 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1528, allocations: 87.89 kB / 0.5197 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.1533, allocations: 433.9 kB / 0.5201 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.1535, allocations: 102.2 kB / 0.5202 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.1537, allocations: 179.3 kB / 0.5204 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.1539, allocations: 151.2 kB / 0.5205 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.154, allocations: 35.94 kB / 0.5206 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.513e-05/0.154, allocations: 32 kB / 0.5206 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.1541, allocations: 75.77 kB / 0.5207 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.1543, allocations: 167.2 kB / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.1547, allocations: 430.2 kB / 0.5212 GB, free: 1.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1547, allocations: 3.984 kB / 0.5212 GB, free: 1.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1547, allocations: 4 kB / 0.5212 GB, free: 1.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1547, allocations: 3.938 kB / 0.5212 GB, free: 1.926 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.000942/0.1557, allocations: 0.5717 MB / 0.5218 GB, free: 1.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1557, allocations: 8.031 kB / 0.5218 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.374e-05/0.1558, allocations: 82.64 kB / 0.5219 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.1559, allocations: 48.7 kB / 0.5219 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1562, allocations: 206.8 kB / 0.5221 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.1563, allocations: 29.38 kB / 0.5222 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/0.1563, allocations: 44.33 kB / 0.5222 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.157, allocations: 398.2 kB / 0.5226 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.157, allocations: 3.953 kB / 0.5226 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.157, allocations: 19.98 kB / 0.5226 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.157, allocations: 12 kB / 0.5226 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.1575, allocations: 219.7 kB / 0.5228 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.1599, allocations: 1.609 MB / 0.5244 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.1603, allocations: 246.4 kB / 0.5246 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.1605, allocations: 94.08 kB / 0.5247 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1605, allocations: 7.938 kB / 0.5247 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.1606, allocations: 42.55 kB / 0.5248 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.014e-06/0.1606, allocations: 0 / 0.5248 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.000681/0.1612, allocations: 265.5 kB / 0.525 GB, free: 13.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.1614, allocations: 214 kB / 0.5252 GB, free: 13.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.1617, allocations: 292 kB / 0.5255 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1617, allocations: 29.7 kB / 0.5255 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.1619, allocations: 247.9 kB / 0.5258 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.162, allocations: 123.1 kB / 0.5259 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.1621, allocations: 102.2 kB / 0.526 GB, free: 12.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1623, allocations: 346.8 kB / 0.5263 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.1625, allocations: 101.2 kB / 0.5264 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/0.163, allocations: 432.8 kB / 0.5268 GB, free: 11.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/0.1638, allocations: 0.5624 MB / 0.5274 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1638, allocations: 4 kB / 0.5274 GB, free: 10.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009206/0.1647, allocations: 0.5173 MB / 0.5279 GB, free: 10.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.1647, allocations: 16 kB / 0.5279 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.1647, allocations: 11.98 kB / 0.5279 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.1648, allocations: 16.5 kB / 0.5279 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.1652, allocations: 155.7 kB / 0.5281 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.656e-05/0.1653, allocations: 23.92 kB / 0.5281 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.1656, allocations: 59.58 kB / 0.5282 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.1656, allocations: 39.94 kB / 0.5282 GB, free: 10.1 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.0002209/0.1658, allocations: 177.5 kB / 0.5284 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.166, allocations: 35.81 kB / 0.5284 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.018e-05/0.1661, allocations: 41.7 kB / 0.5284 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1661, allocations: 4 kB / 0.5284 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.1661, allocations: 4.234 kB / 0.5284 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1661, allocations: 0 / 0.5284 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.1674, allocations: 0.6037 MB / 0.529 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1674, allocations: 3.984 kB / 0.529 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.1678, allocations: 87.89 kB / 0.5291 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1679, allocations: 4 kB / 0.5291 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.1679, allocations: 20 kB / 0.5291 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.425e-06/0.1679, allocations: 11.86 kB / 0.5292 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1679, allocations: 4 kB / 0.5292 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008035/0.1687, allocations: 0.8259 MB / 0.53 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.1688, allocations: 39.73 kB / 0.53 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.1688, allocations: 11.94 kB / 0.53 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.1691, allocations: 4 kB / 0.53 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.1692, allocations: 27.95 kB / 0.53 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1692, allocations: 16 kB / 0.5301 GB, free: 8.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.1694, allocations: 183.1 kB / 0.5302 GB, free: 7.914 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1694, allocations: 3.938 kB / 0.5302 GB, free: 7.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007302/0.1701, allocations: 103.8 kB / 0.5303 GB, free: 7.809 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.001194/0.1713, allocations: 1.375 MB / 0.5317 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005562/0.1719, allocations: 282.1 kB / 0.5319 GB, free: 6.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1719, allocations: 0 / 0.5319 GB, free: 6.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.1721, allocations: 84.08 kB / 0.532 GB, free: 6.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009571/0.173, allocations: 73.95 kB / 0.5321 GB, free: 5.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005994/0.179, allocations: 4.918 MB / 0.5369 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.1792, allocations: 194.4 kB / 0.5371 GB, free: 416 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.1794, allocations: 47.25 kB / 0.5371 GB, free: 368 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.1795, allocations: 115.4 kB / 0.5372 GB, free: 256 kB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1795, allocations: 0 / 0.5372 GB, free: 256 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2357/0.4153, allocations: 7.305 MB / 0.5444 GB, free: 28.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.96, allocations: 5.109 kB / 0.5444 GB, free: 28.15 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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: 15.007277829106897]