Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 109 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001414, allocations: 190.6 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 223.1 MB, free: 12.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2289/0.2289, allocations: 43.53 MB / 313.9 MB, free: 0.5078 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 70.09 kB / 382.8 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1303, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004431/0.1348, allocations: 2.83 MB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1363, allocations: 0.7564 MB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006231/0.137, allocations: 8 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.1375, allocations: 63.33 kB / 444.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006489/0.1381, allocations: 118.9 kB / 444.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.1386, allocations: 103.8 kB / 444.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005388/0.1392, allocations: 438.4 kB / 444.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000329/0.1395, allocations: 194.3 kB / 445.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.1398, allocations: 163.4 kB / 445.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.14, allocations: 199 kB / 445.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/0.1401, allocations: 36 kB / 445.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.692e-05/0.1402, allocations: 36 kB / 445.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.1403, allocations: 79.7 kB / 445.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1405, allocations: 203 kB / 445.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.1409, allocations: 442.4 kB / 446.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1409, allocations: 3.984 kB / 446.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1409, allocations: 0 / 446.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1409, allocations: 0 / 446.2 MB, free: 1.141 MB / 318.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.0008113/0.1417, allocations: 0.663 MB / 446.9 MB, free: 440 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1418, allocations: 11.89 kB / 446.9 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.548e-05/0.1418, allocations: 78.7 kB / 447 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.1419, allocations: 40.47 kB / 447 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.1422, allocations: 292.5 kB / 447.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.1422, allocations: 29.38 kB / 447.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.1423, allocations: 44.28 kB / 447.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006332/0.1429, allocations: 389.1 kB / 447.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.143, allocations: 3.938 kB / 447.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.143, allocations: 19.94 kB / 447.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.143, allocations: 12 kB / 447.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.1435, allocations: 235.9 kB / 448 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.1451, allocations: 1.108 MB / 449.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.1456, allocations: 351.5 kB / 449.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.1459, allocations: 175.2 kB / 449.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.1459, allocations: 8 kB / 449.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.146, allocations: 50.44 kB / 449.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.146, allocations: 0 / 449.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003688/0.1497, allocations: 2.438 MB / 452.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.1497, allocations: 110.8 kB / 452.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.15, allocations: 250.5 kB / 452.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.15, allocations: 33.7 kB / 452.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1501, allocations: 184.6 kB / 452.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.1503, allocations: 197.1 kB / 452.9 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1504, allocations: 90.25 kB / 453 MB, free: 9.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1505, allocations: 346.7 kB / 453.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.1508, allocations: 133.1 kB / 453.5 MB, free: 9.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.1511, allocations: 223.8 kB / 453.7 MB, free: 9.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/0.1517, allocations: 405.9 kB / 454.1 MB, free: 8.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1517, allocations: 0 / 454.1 MB, free: 8.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009943/0.1527, allocations: 0.5617 MB / 454.6 MB, free: 8.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1527, allocations: 4 kB / 454.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1528, allocations: 4 kB / 454.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/0.1531, allocations: 130.8 kB / 454.8 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.1535, allocations: 92.03 kB / 454.9 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004244/0.1578, allocations: 5.217 MB / 460.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.158, allocations: 16 kB / 460.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.1581, allocations: 20.25 kB / 460.1 MB, free: 2.203 MB / 334.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.000209/0.1583, allocations: 166.9 kB / 460.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.1584, allocations: 43.53 kB / 460.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.501e-05/0.1585, allocations: 50.16 kB / 460.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1585, allocations: 8 kB / 460.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.1585, allocations: 7.938 kB / 460.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1585, allocations: 0 / 460.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.1604, allocations: 1.327 MB / 461.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1604, allocations: 0 / 461.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.1608, allocations: 103.8 kB / 461.8 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002653/0.1611, allocations: 98.55 kB / 461.9 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.1611, allocations: 12 kB / 461.9 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003377/0.1645, allocations: 4.427 MB / 466.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1646, allocations: 8.016 kB / 466.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.1658, allocations: 0.9256 MB / 467.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.166, allocations: 104.7 kB / 467.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.166, allocations: 16.05 kB / 467.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.1663, allocations: 12 kB / 467.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.1664, allocations: 47.88 kB / 467.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.1664, allocations: 20 kB / 467.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.1666, allocations: 174 kB / 467.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1666, allocations: 0 / 467.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007513/0.1674, allocations: 124 kB / 467.8 MB, free: 9.988 MB / 350.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.001621/0.169, allocations: 1.476 MB / 469.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.1704, allocations: 0.7926 MB / 470 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1704, allocations: 4 kB / 470.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007601/0.1711, allocations: 0.5731 MB / 470.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006678/0.1718, allocations: 60.47 kB / 470.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005804/0.1776, allocations: 4.17 MB / 474.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.1781, allocations: 0.8241 MB / 475.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.1782, allocations: 35.25 kB / 475.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.1784, allocations: 135.3 kB / 475.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1784, allocations: 0 / 475.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.2094, allocations: 8.089 MB / 483.9 MB, free: 9.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.59/9.8, allocations: 7.375 kB / 483.9 MB, free: 9.469 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches