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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 82.14 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1338, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01011/0.1439, allocations: 8.642 MB / 488.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007296/0.1513, allocations: 3.463 MB / 492.2 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.1527, allocations: 43.88 kB / 492.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002738/0.1555, allocations: 1.363 MB / 493.6 MB, free: 7.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002535/0.1581, allocations: 0.9105 MB / 494.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.1593, allocations: 0.5186 MB / 495.1 MB, free: 6.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.1617, allocations: 1.726 MB / 496.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.1642, allocations: 1.643 MB / 498.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.1657, allocations: 0.6698 MB / 499.1 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.1673, allocations: 0.8841 MB / 500 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004493/0.1678, allocations: 136 kB / 0.4884 GB, free: 1.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.1691, allocations: 0.5656 MB / 0.489 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009685/0.1701, allocations: 0.7286 MB / 0.4897 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.1719, allocations: 0.8276 MB / 0.4905 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.1753, allocations: 2.422 MB / 0.4928 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1753, allocations: 0 / 0.4928 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1753, allocations: 0 / 0.4928 GB, free: 12.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.636e-05/0.1754, allocations: 0 / 0.4928 GB, free: 12.51 MB / 382.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.004358/0.1798, allocations: 2.002 MB / 0.4948 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.1798, allocations: 12.03 kB / 0.4948 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003275/0.1802, allocations: 245.5 kB / 0.495 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.1815, allocations: 270.6 kB / 0.4953 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.1841, allocations: 1.27 MB / 0.4965 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/0.1842, allocations: 94.39 kB / 0.4966 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.1844, allocations: 131.8 kB / 0.4968 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005381/0.1898, allocations: 2.996 MB / 0.4997 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/0.1898, allocations: 7.938 kB / 0.4997 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.19, allocations: 63.91 kB / 0.4998 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000603/0.1906, allocations: 430 kB / 0.5002 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004575/0.1952, allocations: 2.175 MB / 0.5023 GB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2485/0.4437, allocations: 10.73 MB / 0.5128 GB, free: 34.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004185/0.4479, allocations: 1.256 MB / 0.514 GB, free: 34.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005879/0.4485, allocations: 413.2 kB / 0.5144 GB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003859/0.4524, allocations: 3.075 MB / 0.5174 GB, free: 32.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.4524, allocations: 38.09 kB / 0.5174 GB, free: 32.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.224e-06/0.4524, allocations: 3.094 kB / 0.5174 GB, free: 32.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01261/0.465, allocations: 3.787 MB / 0.5211 GB, free: 30.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.4651, allocations: 83.3 kB / 0.5212 GB, free: 30.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.4668, allocations: 1.194 MB / 0.5224 GB, free: 30.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.4668, allocations: 35.39 kB / 0.5224 GB, free: 30.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005086/0.4673, allocations: 0.9353 MB / 0.5233 GB, free: 29.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.4675, allocations: 212 kB / 0.5235 GB, free: 29.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003746/0.4679, allocations: 312.9 kB / 0.5238 GB, free: 29.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.4679, allocations: 307.6 kB / 0.5241 GB, free: 28.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006422/0.4686, allocations: 411.8 kB / 0.5245 GB, free: 28.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009771/0.4696, allocations: 1.248 MB / 0.5257 GB, free: 27.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.4712, allocations: 1.807 MB / 0.5275 GB, free: 25.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/0.4712, allocations: 7.812 kB / 0.5275 GB, free: 25.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002588/0.4738, allocations: 1.717 MB / 0.5292 GB, free: 25.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.4738, allocations: 19.78 kB / 0.5292 GB, free: 25.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.4739, allocations: 34.86 kB / 0.5292 GB, free: 25.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.4741, allocations: 80.61 kB / 0.5293 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4751, allocations: 357 kB / 0.5296 GB, free: 25.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.4764, allocations: 1.878 MB / 0.5315 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009695/0.4774, allocations: 74.53 kB / 0.5315 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.4775, allocations: 83.5 kB / 0.5316 GB, free: 23.26 MB / 382.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.000924/0.4784, allocations: 0.638 MB / 0.5322 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.4786, allocations: 115.6 kB / 0.5324 GB, free: 22.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.4788, allocations: 138.4 kB / 0.5325 GB, free: 22.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.4788, allocations: 9.609 kB / 0.5325 GB, free: 22.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.4788, allocations: 1.938 kB / 0.5325 GB, free: 22.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4789, allocations: 0 / 0.5325 GB, free: 22.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.4817, allocations: 2.244 MB / 0.5347 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4818, allocations: 3.969 kB / 0.5347 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.4821, allocations: 104.8 kB / 0.5348 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001712/0.4823, allocations: 64.17 kB / 0.5349 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.4823, allocations: 19.89 kB / 0.5349 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.4835, allocations: 1.94 MB / 0.5368 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4836, allocations: 7.562 kB / 0.5368 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.4848, allocations: 1.116 MB / 0.5379 GB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.485, allocations: 180.1 kB / 0.538 GB, free: 18.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4851, allocations: 15.5 kB / 0.5381 GB, free: 18.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.4855, allocations: 22.98 kB / 0.5381 GB, free: 18.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.4855, allocations: 53.94 kB / 0.5381 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.4856, allocations: 18.72 kB / 0.5381 GB, free: 18.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007479/0.4863, allocations: 0.7568 MB / 0.5389 GB, free: 17.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4863, allocations: 2.219 kB / 0.5389 GB, free: 17.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001375/0.4877, allocations: 292.5 kB / 0.5392 GB, free: 17.94 MB / 382.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.001442/0.4892, allocations: 1.693 MB / 0.5408 GB, free: 16.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.4909, allocations: 1.202 MB / 0.542 GB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4909, allocations: 0 / 0.542 GB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.4914, allocations: 419.9 kB / 0.5424 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009139/0.4923, allocations: 188.5 kB / 0.5426 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.5045, allocations: 12.04 MB / 0.5543 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.5056, allocations: 1.447 MB / 0.5557 GB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001093/0.5067, allocations: 405.6 kB / 0.5561 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006473/0.5074, allocations: 0.5735 MB / 0.5567 GB, free: 14.75 MB / 398.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5074, allocations: 0 / 0.5567 GB, free: 14.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05215/0.5595, allocations: 22.47 MB / 0.5786 GB, free: 8.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.65, allocations: 13.81 kB / 0.5786 GB, free: 8.457 MB / 414.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches