Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 119.6 kB / 20.44 MB, free: 1.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002377/0.002377, allocations: 214.5 kB / 23.74 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2615/0.2615, allocations: 46.93 MB / 360.9 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 71.89 kB / 0.4962 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3888, allocations: 66.04 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01171/0.4005, allocations: 8.706 MB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008025/0.4086, allocations: 3.52 MB / 0.5726 GB, free: 8.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.4098, allocations: 51.75 kB / 0.5726 GB, free: 8.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.4126, allocations: 1.39 MB / 0.574 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.415, allocations: 0.9301 MB / 0.5749 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.4162, allocations: 0.5147 MB / 0.5754 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002404/0.4186, allocations: 1.726 MB / 0.5771 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.4201, allocations: 1.257 MB / 0.5783 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009407/0.4211, allocations: 0.6698 MB / 0.579 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.4225, allocations: 0.9424 MB / 0.5799 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.4227, allocations: 140 kB / 0.58 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.4239, allocations: 0.593 MB / 0.5806 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007554/0.4246, allocations: 0.7401 MB / 0.5813 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009259/0.4255, allocations: 0.8354 MB / 0.5821 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003099/0.4286, allocations: 2.483 MB / 0.5846 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4286, allocations: 0 / 0.5846 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4286, allocations: 0 / 0.5846 GB, free: 11.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.674e-05/0.4287, allocations: 0 / 0.5846 GB, free: 11.83 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.003819/0.4325, allocations: 1.99 MB / 0.5865 GB, free: 9.797 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4325, allocations: 8.031 kB / 0.5865 GB, free: 9.789 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003154/0.4329, allocations: 245.5 kB / 0.5868 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.434, allocations: 287.5 kB / 0.587 GB, free: 9.258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.4364, allocations: 1.222 MB / 0.5882 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.553e-05/0.4365, allocations: 98.39 kB / 0.5883 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.4367, allocations: 127.9 kB / 0.5884 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005383/0.4421, allocations: 2.992 MB / 0.5914 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.331e-05/0.4421, allocations: 23.88 kB / 0.5914 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.4422, allocations: 55.98 kB / 0.5914 GB, free: 4.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006493/0.4429, allocations: 430 kB / 0.5918 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004692/0.4476, allocations: 2.183 MB / 0.594 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.4615, allocations: 10.65 MB / 0.6044 GB, free: 6.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/0.4654, allocations: 1.204 MB / 0.6056 GB, free: 5.766 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006108/0.466, allocations: 379 kB / 0.6059 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003882/0.4699, allocations: 2.093 MB / 0.608 GB, free: 3.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.4699, allocations: 39 kB / 0.608 GB, free: 3.223 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.725e-06/0.4699, allocations: 4 kB / 0.608 GB, free: 3.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01171/0.4816, allocations: 3.582 MB / 0.6115 GB, free: 15.58 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.4817, allocations: 85.61 kB / 0.6116 GB, free: 15.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.4833, allocations: 1.19 MB / 0.6127 GB, free: 14.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.4834, allocations: 45.64 kB / 0.6128 GB, free: 14.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007841/0.4842, allocations: 0.9624 MB / 0.6137 GB, free: 13.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.4844, allocations: 234.1 kB / 0.6139 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/0.4848, allocations: 307.3 kB / 0.6142 GB, free: 12.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.485, allocations: 309.1 kB / 0.6145 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006583/0.4856, allocations: 407.7 kB / 0.6149 GB, free: 12.01 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.487, allocations: 1.25 MB / 0.6161 GB, free: 10.35 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.4893, allocations: 1.799 MB / 0.6179 GB, free: 8.137 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.4893, allocations: 12 kB / 0.6179 GB, free: 8.125 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002834/0.4922, allocations: 1.723 MB / 0.6196 GB, free: 6.391 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.4922, allocations: 16 kB / 0.6196 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.594e-05/0.4922, allocations: 32 kB / 0.6196 GB, free: 6.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.4925, allocations: 81.55 kB / 0.6197 GB, free: 6.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.4935, allocations: 359.3 kB / 0.6201 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.4953, allocations: 1.773 MB / 0.6218 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009209/0.4962, allocations: 67.98 kB / 0.6219 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.4963, allocations: 84 kB / 0.6219 GB, free: 3.871 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.0009483/0.4973, allocations: 0.6523 MB / 0.6226 GB, free: 3.211 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.4974, allocations: 123.1 kB / 0.6227 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.4977, allocations: 135.6 kB / 0.6228 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.4977, allocations: 8.094 kB / 0.6228 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.4977, allocations: 3.984 kB / 0.6228 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4977, allocations: 3.984 kB / 0.6228 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/0.5015, allocations: 2.207 MB / 0.625 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.5015, allocations: 4 kB / 0.625 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.5019, allocations: 103.8 kB / 0.6251 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.5021, allocations: 65.33 kB / 0.6252 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.5021, allocations: 15.98 kB / 0.6252 GB, free: 456 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.5039, allocations: 1.829 MB / 0.627 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.5039, allocations: 7.938 kB / 0.627 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.5057, allocations: 1.119 MB / 0.6281 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.506, allocations: 107.2 kB / 0.6282 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.5061, allocations: 23.98 kB / 0.6282 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.5065, allocations: 27.92 kB / 0.6282 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.5066, allocations: 47.86 kB / 0.6283 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.5066, allocations: 16 kB / 0.6283 GB, free: 13.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001164/0.5078, allocations: 0.7713 MB / 0.629 GB, free: 12.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5078, allocations: 0 / 0.629 GB, free: 12.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00155/0.5093, allocations: 292 kB / 0.6293 GB, free: 12.03 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.002228/0.5116, allocations: 1.68 MB / 0.6309 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.5137, allocations: 1.057 MB / 0.632 GB, free: 9.203 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5137, allocations: 7.938 kB / 0.632 GB, free: 9.195 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.5143, allocations: 394.9 kB / 0.6324 GB, free: 8.797 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.5154, allocations: 196.4 kB / 0.6325 GB, free: 8.605 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/0.5343, allocations: 11.51 MB / 0.6438 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.536, allocations: 1.447 MB / 0.6452 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001076/0.5371, allocations: 409.6 kB / 0.6456 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007525/0.5378, allocations: 0.5774 MB / 0.6462 GB, free: 9.582 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5378, allocations: 0 / 0.6462 GB, free: 9.582 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07868/0.6165, allocations: 24.33 MB / 0.6699 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.23, allocations: 7.922 kB / 0.6699 GB, free: 1.477 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.587621448095888]