Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 208.7 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.94 MB / 361.6 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00368/0.00368, allocations: 79.86 kB / 0.4969 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3449, allocations: 66.08 MB / 0.5614 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009948/0.3549, allocations: 7.597 MB / 0.5689 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006741/0.3616, allocations: 3.271 MB / 0.5721 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.3627, allocations: 55.69 kB / 0.5721 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.3654, allocations: 1.32 MB / 0.5734 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.3677, allocations: 0.9417 MB / 0.5743 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.3688, allocations: 0.5147 MB / 0.5748 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.371, allocations: 1.729 MB / 0.5765 GB, free: 4.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.3726, allocations: 1.249 MB / 0.5777 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009259/0.3735, allocations: 0.6814 MB / 0.5784 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.3748, allocations: 0.9425 MB / 0.5793 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.375, allocations: 136 kB / 0.5794 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.3761, allocations: 0.5734 MB / 0.58 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007284/0.3768, allocations: 0.7441 MB / 0.5807 GB, free: 192 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007754/0.3776, allocations: 0.6451 MB / 0.5814 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.3807, allocations: 2.51 MB / 0.5838 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3807, allocations: 0 / 0.5838 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.3807, allocations: 0 / 0.5838 GB, free: 13.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.412e-05/0.3808, allocations: 4 kB / 0.5838 GB, free: 13.02 MB / 430.1 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.003949/0.3847, allocations: 1.975 MB / 0.5857 GB, free: 11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.3848, allocations: 12.03 kB / 0.5858 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.832e-05/0.3848, allocations: 34.67 kB / 0.5858 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003095/0.3851, allocations: 249.5 kB / 0.586 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.3864, allocations: 291.5 kB / 0.5863 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.389, allocations: 1.233 MB / 0.5875 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.3891, allocations: 98.45 kB / 0.5876 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.3893, allocations: 120 kB / 0.5877 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005574/0.3948, allocations: 3.05 MB / 0.5907 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/0.3949, allocations: 15.83 kB / 0.5907 GB, free: 5.668 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.395, allocations: 55.97 kB / 0.5908 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006288/0.3956, allocations: 434 kB / 0.5912 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004794/0.4004, allocations: 2.175 MB / 0.5933 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/0.4133, allocations: 10.25 MB / 0.6033 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003937/0.4172, allocations: 1.183 MB / 0.6045 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.4178, allocations: 387 kB / 0.6048 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003689/0.4215, allocations: 2.011 MB / 0.6068 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.4216, allocations: 50.92 kB / 0.6068 GB, free: 4.789 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.705e-06/0.4216, allocations: 0 / 0.6068 GB, free: 4.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01205/0.4336, allocations: 3.586 MB / 0.6103 GB, free: 1.152 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.4337, allocations: 81.61 kB / 0.6104 GB, free: 1.055 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.4353, allocations: 1.202 MB / 0.6116 GB, free: 15.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.4353, allocations: 33.7 kB / 0.6116 GB, free: 15.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007636/0.4361, allocations: 0.9585 MB / 0.6126 GB, free: 14.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.4363, allocations: 234.1 kB / 0.6128 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004159/0.4367, allocations: 311.3 kB / 0.6131 GB, free: 14.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4369, allocations: 301.1 kB / 0.6134 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006806/0.4375, allocations: 415.7 kB / 0.6138 GB, free: 13.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.4389, allocations: 1.268 MB / 0.615 GB, free: 11.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.4411, allocations: 1.814 MB / 0.6168 GB, free: 9.672 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/0.4411, allocations: 8 kB / 0.6168 GB, free: 9.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002885/0.444, allocations: 1.716 MB / 0.6185 GB, free: 7.938 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.444, allocations: 16 kB / 0.6185 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/0.444, allocations: 32 kB / 0.6185 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.4443, allocations: 88.86 kB / 0.6186 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.4453, allocations: 359.3 kB / 0.6189 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.4471, allocations: 1.765 MB / 0.6207 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000867/0.448, allocations: 67.98 kB / 0.6207 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.4481, allocations: 84 kB / 0.6208 GB, free: 5.418 MB / 462.1 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 (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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001015/0.4491, allocations: 0.6518 MB / 0.6214 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.4493, allocations: 123.2 kB / 0.6216 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.4496, allocations: 135.6 kB / 0.6217 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4496, allocations: 4 kB / 0.6217 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4496, allocations: 0 / 0.6217 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.4496, allocations: 0 / 0.6217 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003702/0.4533, allocations: 2.146 MB / 0.6238 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.4533, allocations: 4 kB / 0.6238 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.4537, allocations: 99.83 kB / 0.6239 GB, free: 2.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001913/0.4539, allocations: 64.8 kB / 0.624 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/0.454, allocations: 16 kB / 0.624 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.4557, allocations: 1.825 MB / 0.6257 GB, free: 136 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4557, allocations: 7.938 kB / 0.6258 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.4574, allocations: 1.114 MB / 0.6268 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.4576, allocations: 111.2 kB / 0.6269 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.4577, allocations: 28.17 kB / 0.627 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.4581, allocations: 27.92 kB / 0.627 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.4581, allocations: 47.84 kB / 0.627 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.4582, allocations: 20 kB / 0.6271 GB, free: 14.71 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001038/0.4592, allocations: 0.7635 MB / 0.6278 GB, free: 13.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4592, allocations: 0 / 0.6278 GB, free: 13.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001323/0.4605, allocations: 296 kB / 0.6281 GB, free: 13.66 MB / 478.1 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 (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): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002005/0.4625, allocations: 1.672 MB / 0.6297 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.4645, allocations: 1.073 MB / 0.6308 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.4645, allocations: 4 kB / 0.6308 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.4652, allocations: 391.7 kB / 0.6312 GB, free: 10.42 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.4663, allocations: 191.2 kB / 0.6313 GB, free: 10.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/0.4825, allocations: 11.51 MB / 0.6426 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.4835, allocations: 0.8513 MB / 0.6434 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009503/0.4845, allocations: 413.5 kB / 0.6438 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007191/0.4852, allocations: 0.5774 MB / 0.6444 GB, free: 11.79 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4852, allocations: 0 / 0.6444 GB, free: 11.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05814/0.5433, allocations: 24.25 MB / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.38, allocations: 10.72 kB / 0.6681 GB, free: 3.855 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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: 17.97686569893267]