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.001779/0.001779, allocations: 114 kB / 20.43 MB, free: 1.457 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.002063/0.002063, allocations: 212.6 kB / 23.74 MB, free: 4.672 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.518/1.518, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2512/0.2512, allocations: 46.92 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 79.88 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3673, allocations: 66.08 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01103/0.3783, allocations: 8.714 MB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007098/0.3854, allocations: 3.512 MB / 0.5727 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.3869, allocations: 55.75 kB / 0.5727 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002956/0.3898, allocations: 1.386 MB / 0.5741 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.3922, allocations: 0.9371 MB / 0.575 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.3933, allocations: 0.5146 MB / 0.5755 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.3957, allocations: 1.726 MB / 0.5772 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.3973, allocations: 1.257 MB / 0.5784 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.3984, allocations: 0.6776 MB / 0.5791 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.3998, allocations: 0.9346 MB / 0.58 GB, free: 472 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.4001, allocations: 144 kB / 0.5801 GB, free: 328 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.4012, allocations: 0.5891 MB / 0.5807 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008013/0.402, allocations: 0.7517 MB / 0.5814 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.4031, allocations: 0.8276 MB / 0.5822 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003615/0.4067, allocations: 2.483 MB / 0.5847 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4067, allocations: 0 / 0.5847 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4067, allocations: 0 / 0.5847 GB, free: 11.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.816e-05/0.4067, allocations: 0 / 0.5847 GB, free: 11.65 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.004928/0.4117, allocations: 1.99 MB / 0.5866 GB, free: 9.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.4117, allocations: 8.031 kB / 0.5866 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003828/0.4121, allocations: 241.5 kB / 0.5868 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.4134, allocations: 283.5 kB / 0.5871 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.4162, allocations: 1.226 MB / 0.5883 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.4164, allocations: 106.3 kB / 0.5884 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.4166, allocations: 124 kB / 0.5885 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005793/0.4224, allocations: 2.996 MB / 0.5915 GB, free: 4.422 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-05/0.4224, allocations: 15.89 kB / 0.5915 GB, free: 4.406 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.4226, allocations: 59.97 kB / 0.5915 GB, free: 4.348 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006291/0.4232, allocations: 426 kB / 0.5919 GB, free: 3.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004608/0.4278, allocations: 2.191 MB / 0.5941 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/0.4419, allocations: 10.65 MB / 0.6045 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003966/0.4459, allocations: 1.195 MB / 0.6056 GB, free: 5.594 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006322/0.4465, allocations: 375 kB / 0.606 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004163/0.4507, allocations: 2.101 MB / 0.608 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.4507, allocations: 39 kB / 0.6081 GB, free: 3.047 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 3.817e-06/0.4507, allocations: 0 / 0.6081 GB, free: 3.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01196/0.4627, allocations: 3.586 MB / 0.6116 GB, free: 15.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.4628, allocations: 89.61 kB / 0.6117 GB, free: 15.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.4645, allocations: 1.182 MB / 0.6128 GB, free: 14.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.4646, allocations: 37.7 kB / 0.6129 GB, free: 14.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007887/0.4653, allocations: 0.9702 MB / 0.6138 GB, free: 13.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.4655, allocations: 230.1 kB / 0.614 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004003/0.4659, allocations: 311.3 kB / 0.6143 GB, free: 12.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4661, allocations: 305.1 kB / 0.6146 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007536/0.4668, allocations: 415.7 kB / 0.615 GB, free: 11.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.4683, allocations: 1.25 MB / 0.6162 GB, free: 10.17 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.4708, allocations: 1.799 MB / 0.618 GB, free: 7.957 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/0.4708, allocations: 8 kB / 0.618 GB, free: 7.949 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003211/0.474, allocations: 1.723 MB / 0.6197 GB, free: 6.215 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.474, allocations: 16 kB / 0.6197 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-05/0.4741, allocations: 28 kB / 0.6197 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/0.4743, allocations: 92.89 kB / 0.6198 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.4754, allocations: 351.4 kB / 0.6201 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.4775, allocations: 1.773 MB / 0.6219 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.4786, allocations: 71.97 kB / 0.6219 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.4787, allocations: 84 kB / 0.622 GB, free: 3.691 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.001082/0.4798, allocations: 0.644 MB / 0.6227 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.48, allocations: 119.2 kB / 0.6228 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.4802, allocations: 131.6 kB / 0.6229 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.4802, allocations: 16.02 kB / 0.6229 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.4802, allocations: 0 / 0.6229 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4802, allocations: 3.984 kB / 0.6229 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/0.4843, allocations: 2.216 MB / 0.6251 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.4843, allocations: 4.5 kB / 0.6251 GB, free: 464 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.4847, allocations: 99.89 kB / 0.6252 GB, free: 364 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.4849, allocations: 60.81 kB / 0.6252 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.4849, allocations: 16 kB / 0.6253 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.4869, allocations: 1.836 MB / 0.627 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4869, allocations: 4 kB / 0.627 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.4887, allocations: 1.126 MB / 0.6281 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.489, allocations: 111.2 kB / 0.6283 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.4891, allocations: 16 kB / 0.6283 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.4894, allocations: 27.92 kB / 0.6283 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.4895, allocations: 47.92 kB / 0.6283 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.4895, allocations: 20 kB / 0.6284 GB, free: 12.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001216/0.4908, allocations: 0.7674 MB / 0.6291 GB, free: 12.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4908, allocations: 0 / 0.6291 GB, free: 12.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00154/0.4923, allocations: 292 kB / 0.6294 GB, free: 11.86 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.002503/0.4948, allocations: 1.68 MB / 0.631 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.4971, allocations: 1.058 MB / 0.6321 GB, free: 9.027 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4971, allocations: 4.062 kB / 0.6321 GB, free: 9.023 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006083/0.4977, allocations: 398.2 kB / 0.6324 GB, free: 8.621 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009566/0.4986, allocations: 185.8 kB / 0.6326 GB, free: 8.438 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/0.5179, allocations: 11.52 MB / 0.6439 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/0.5194, allocations: 1.451 MB / 0.6453 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00104/0.5204, allocations: 409.5 kB / 0.6457 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007225/0.5212, allocations: 0.5813 MB / 0.6462 GB, free: 9.398 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5212, allocations: 0 / 0.6462 GB, free: 9.398 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07081/0.592, allocations: 24.32 MB / 0.67 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.35, allocations: 7.812 kB / 0.67 GB, free: 1.262 MB / 0.4981 GB " [Timeout remaining time 646] (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.7852090371307]