Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.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.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",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.001649/0.001649, allocations: 103 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.001828/0.001828, allocations: 190.1 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.385/1.385, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.1941/0.1941, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.001643/0.001643, allocations: 75.44 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07951/0.08117, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.006378/0.08757, allocations: 7.5 MB / 448.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005762/0.09337, allocations: 3.345 MB / 451.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009494/0.09434, allocations: 31.94 kB / 451.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.09642, allocations: 0.8014 MB / 452.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.0996, allocations: 1.327 MB / 453.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.1012, allocations: 0.5223 MB / 454.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003342/0.1045, allocations: 2.574 MB / 456.7 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00193/0.1065, allocations: 1.241 MB / 458 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.1077, allocations: 0.7783 MB / 458.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.1094, allocations: 1.133 MB / 459.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005444/0.1099, allocations: 140 kB / 460 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.1119, allocations: 0.9361 MB / 460.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.113, allocations: 1.024 MB / 462 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.1141, allocations: 1.226 MB / 463.2 MB, free: 152 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003577/0.1177, allocations: 3.894 MB / 467.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1177, allocations: 4 kB / 467.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1177, allocations: 0 / 467.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.269e-05/0.1177, allocations: 0 / 467.1 MB, free: 12.24 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.004643/0.1224, allocations: 2.984 MB / 470.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.1224, allocations: 15.89 kB / 470.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005488/0.123, allocations: 458.5 kB / 470.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005994/0.129, allocations: 1.662 MB / 472.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002728/0.1317, allocations: 1.781 MB / 474 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.664e-05/0.1319, allocations: 127.4 kB / 474.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/0.1322, allocations: 163.7 kB / 474.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007907/0.1401, allocations: 6.456 MB / 480.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.514e-05/0.1402, allocations: 27.75 kB / 480.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.1404, allocations: 87.89 kB / 480.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00236/0.1428, allocations: 1.441 MB / 482.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009054/0.1518, allocations: 5.728 MB / 488 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0263/0.1782, allocations: 26.81 MB / 0.5027 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/0.1822, allocations: 2.151 MB / 0.5048 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.1835, allocations: 1.039 MB / 0.5059 GB, free: 7.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.1837, allocations: 178.5 kB / 0.506 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1837, allocations: 42.89 kB / 0.5061 GB, free: 7.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.487e-06/0.1837, allocations: 0 / 0.5061 GB, free: 7.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.0155/0.1992, allocations: 6.431 MB / 0.5124 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.1994, allocations: 140.9 kB / 0.5125 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/0.2033, allocations: 2.914 MB / 0.5153 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.2035, allocations: 41.7 kB / 0.5154 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001762/0.2052, allocations: 2.106 MB / 0.5174 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005217/0.2058, allocations: 466.2 kB / 0.5179 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.2068, allocations: 0.881 MB / 0.5187 GB, free: 10.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.2069, allocations: 305.1 kB / 0.519 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.2088, allocations: 1.43 MB / 0.5204 GB, free: 8.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003474/0.2123, allocations: 4.287 MB / 0.5246 GB, free: 2.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1831/0.3954, allocations: 6.181 MB / 0.5306 GB, free: 80.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.866e-05/0.3955, allocations: 36.22 kB / 0.5307 GB, free: 80.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008579/0.4041, allocations: 5.482 MB / 0.536 GB, free: 80.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.379e-05/0.4042, allocations: 50.12 kB / 0.5361 GB, free: 80.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/0.4043, allocations: 102.5 kB / 0.5362 GB, free: 80.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/0.4044, allocations: 133.7 kB / 0.5363 GB, free: 80.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/0.4084, allocations: 1.223 MB / 0.5375 GB, free: 80.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001569/0.4086, allocations: 199.9 kB / 0.5377 GB, free: 80.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/0.4112, allocations: 242 kB / 0.5379 GB, free: 80.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/0.4115, allocations: 284.2 kB / 0.5382 GB, free: 80.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * Array equations: 3 * 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.001782/0.4133, allocations: 1.387 MB / 0.5395 GB, free: 79.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/0.4137, allocations: 238.8 kB / 0.5398 GB, free: 79.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.4157, allocations: 1.243 MB / 0.541 GB, free: 79.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/0.4157, allocations: 14.59 kB / 0.541 GB, free: 79.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4158, allocations: 1.031 kB / 0.541 GB, free: 79.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.4158, allocations: 8.188 kB / 0.541 GB, free: 79.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006248/0.422, allocations: 4.576 MB / 0.5455 GB, free: 77.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.4221, allocations: 6.062 kB / 0.5455 GB, free: 77.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/0.4239, allocations: 365.9 kB / 0.5458 GB, free: 77.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.4239, allocations: 8.344 kB / 0.5458 GB, free: 77.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/0.424, allocations: 28.95 kB / 0.5459 GB, free: 77.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.424, allocations: 11.62 kB / 0.5459 GB, free: 77.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.424, allocations: 3.906 kB / 0.5459 GB, free: 77.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.4259, allocations: 2.169 MB / 0.548 GB, free: 76.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005803/0.4265, allocations: 457.4 kB / 0.5484 GB, free: 75.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.4267, allocations: 20.78 kB / 0.5485 GB, free: 75.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008619/0.4276, allocations: 65.94 kB / 0.5485 GB, free: 75.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.4277, allocations: 65.23 kB / 0.5486 GB, free: 75.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.256e-05/0.4278, allocations: 37.59 kB / 0.5486 GB, free: 75.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001918/0.4297, allocations: 1.833 MB / 0.5504 GB, free: 75.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4297, allocations: 4 kB / 0.5504 GB, free: 75.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002797/0.4326, allocations: 0.6283 MB / 0.551 GB, free: 75.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 simulation (90): * Single equations (assignments): 87 * Array equations: 3 * 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.002124/0.4347, allocations: 2.792 MB / 0.5538 GB, free: 73.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003998/0.4387, allocations: 3.458 MB / 0.5571 GB, free: 70.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4387, allocations: 0 / 0.5571 GB, free: 70.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007608/0.4395, allocations: 0.7938 MB / 0.5579 GB, free: 69.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.441, allocations: 270.5 kB / 0.5582 GB, free: 69.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/0.467, allocations: 32.5 MB / 0.5899 GB, free: 31.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/0.4686, allocations: 2.211 MB / 0.5921 GB, free: 29.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00278/0.4714, allocations: 1.46 MB / 0.5935 GB, free: 27.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/0.4725, allocations: 1.089 MB / 0.5946 GB, free: 26.84 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4725, allocations: 0 / 0.5946 GB, free: 26.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.417/1.89, allocations: 44.38 MB / 0.6379 GB, free: 14.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/13.45, allocations: 7.719 kB / 0.6379 GB, free: 14.44 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches