Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009254/0.0009253, allocations: 175.9 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006975/0.0006975, allocations: 97.38 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2934/0.2934, allocations: 43.57 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 12 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.09889, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2018/0.3007, allocations: 23.62 MB / 0.5025 GB, free: 33.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.3112, allocations: 5.968 MB / 0.5083 GB, free: 29.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003366/0.3146, allocations: 107.9 kB / 0.5084 GB, free: 29.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.3164, allocations: 1.037 MB / 0.5094 GB, free: 29.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006627/0.323, allocations: 3.337 MB / 0.5127 GB, free: 27.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.3242, allocations: 481.6 kB / 0.5131 GB, free: 27.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.3261, allocations: 1.901 MB / 0.515 GB, free: 27.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002175/0.3283, allocations: 2.222 MB / 0.5172 GB, free: 26.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005905/0.3289, allocations: 0.5185 MB / 0.5177 GB, free: 25.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006876/0.3296, allocations: 0.7917 MB / 0.5184 GB, free: 25.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.3297, allocations: 54.25 kB / 0.5185 GB, free: 25.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007936/0.3305, allocations: 0.5504 MB / 0.519 GB, free: 25.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003805/0.3309, allocations: 0.6205 MB / 0.5196 GB, free: 25.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004525/0.3313, allocations: 0.7086 MB / 0.5203 GB, free: 24.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.3325, allocations: 1.913 MB / 0.5222 GB, free: 24.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3325, allocations: 0 / 0.5222 GB, free: 24.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3326, allocations: 0 / 0.5222 GB, free: 24.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.265e-05/0.3326, allocations: 2.938 kB / 0.5222 GB, free: 24.56 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.002364/0.335, allocations: 1.717 MB / 0.5239 GB, free: 23.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.335, allocations: 9.406 kB / 0.5239 GB, free: 23.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002268/0.3352, allocations: 251.2 kB / 0.5241 GB, free: 23.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009439/0.3362, allocations: 280.3 kB / 0.5244 GB, free: 23.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.338, allocations: 1.513 MB / 0.5259 GB, free: 22.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.384e-05/0.3381, allocations: 98.95 kB / 0.526 GB, free: 22.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.3382, allocations: 122.1 kB / 0.5261 GB, free: 22.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004135/0.3424, allocations: 2.991 MB / 0.529 GB, free: 21.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.3424, allocations: 11.09 kB / 0.529 GB, free: 21.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.3425, allocations: 59.88 kB / 0.5291 GB, free: 21.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004817/0.343, allocations: 429.8 kB / 0.5295 GB, free: 20.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/0.3469, allocations: 2.17 MB / 0.5316 GB, free: 20.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009674/0.3565, allocations: 10.75 MB / 0.5421 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003763/0.3603, allocations: 1.231 MB / 0.5433 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/0.3611, allocations: 417.3 kB / 0.5437 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003599/0.3647, allocations: 3 MB / 0.5466 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.3647, allocations: 38.16 kB / 0.5467 GB, free: 10.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 2.405e-06/0.3647, allocations: 0 / 0.5467 GB, free: 10.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.01116/0.3759, allocations: 3.802 MB / 0.5504 GB, free: 8.422 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.376, allocations: 83.36 kB / 0.5505 GB, free: 8.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.3774, allocations: 1.207 MB / 0.5516 GB, free: 7.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.3775, allocations: 36.17 kB / 0.5517 GB, free: 7.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000473/0.3779, allocations: 0.9494 MB / 0.5526 GB, free: 6.773 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.3781, allocations: 212.6 kB / 0.5528 GB, free: 6.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.3781, allocations: 30.62 kB / 0.5528 GB, free: 6.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.3782, allocations: 371.9 kB / 0.5532 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005628/0.3788, allocations: 406 kB / 0.5536 GB, free: 6.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009023/0.3797, allocations: 1.235 MB / 0.5548 GB, free: 4.652 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.3814, allocations: 1.788 MB / 0.5565 GB, free: 2.957 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/0.3814, allocations: 7.375 kB / 0.5565 GB, free: 2.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002241/0.3836, allocations: 1.698 MB / 0.5582 GB, free: 2.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.3837, allocations: 17.28 kB / 0.5582 GB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.3837, allocations: 32.69 kB / 0.5582 GB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.3839, allocations: 91.59 kB / 0.5583 GB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009213/0.3848, allocations: 352.5 kB / 0.5587 GB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.3859, allocations: 1.695 MB / 0.5603 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000861/0.3868, allocations: 70.61 kB / 0.5604 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/0.3869, allocations: 82.66 kB / 0.5605 GB, free: 332 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008755/0.3878, allocations: 0.6474 MB / 0.5611 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.3879, allocations: 121 kB / 0.5612 GB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.3891, allocations: 0.7014 MB / 0.5619 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.3891, allocations: 9.625 kB / 0.5619 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3891, allocations: 8.938 kB / 0.5619 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3891, allocations: 5.078 kB / 0.5619 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/0.3925, allocations: 2.234 MB / 0.5641 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.3926, allocations: 4 kB / 0.5641 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.3929, allocations: 99.83 kB / 0.5642 GB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001789/0.3931, allocations: 69.31 kB / 0.5643 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.3931, allocations: 12 kB / 0.5643 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.3946, allocations: 1.741 MB / 0.566 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.3946, allocations: 11.88 kB / 0.566 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.396, allocations: 1.091 MB / 0.5671 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.3963, allocations: 223.5 kB / 0.5673 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.3964, allocations: 19.94 kB / 0.5673 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.3968, allocations: 28.05 kB / 0.5673 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.3969, allocations: 47.89 kB / 0.5674 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.3969, allocations: 19.98 kB / 0.5674 GB, free: 9.738 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009774/0.3979, allocations: 0.768 MB / 0.5681 GB, free: 8.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3979, allocations: 0 / 0.5681 GB, free: 8.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001409/0.3993, allocations: 304 kB / 0.5684 GB, free: 8.668 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/0.4011, allocations: 1.663 MB / 0.57 GB, free: 6.926 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.4027, allocations: 1.088 MB / 0.5711 GB, free: 5.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4027, allocations: 4 kB / 0.5711 GB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.4033, allocations: 400 kB / 0.5715 GB, free: 5.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.4047, allocations: 179 kB / 0.5717 GB, free: 5.266 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.4158, allocations: 8.782 MB / 0.5802 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.417, allocations: 1.462 MB / 0.5817 GB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006505/0.4176, allocations: 0.593 MB / 0.5822 GB, free: 9.625 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4176, allocations: 0 / 0.5822 GB, free: 9.625 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.176/4.594, allocations: 27.77 MB / 0.6094 GB, free: 13.84 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches