Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 106.2 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241.8 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1909/0.1909, allocations: 44.18 MB / 336.1 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.59 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1327, allocations: 60.83 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02514/0.1579, allocations: 26.13 MB / 494.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.1716, allocations: 6.394 MB / 0.4894 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005448/0.1771, allocations: 107.7 kB / 0.4895 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002948/0.1801, allocations: 1.36 MB / 0.4908 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.1825, allocations: 0.8527 MB / 0.4917 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.1837, allocations: 479.3 kB / 0.4921 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002811/0.1865, allocations: 2.291 MB / 0.4944 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.1887, allocations: 1.64 MB / 0.496 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.1899, allocations: 0.6073 MB / 0.4966 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.1915, allocations: 0.9425 MB / 0.4975 GB, free: 5.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004119/0.1919, allocations: 100 kB / 0.4976 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.1933, allocations: 0.5968 MB / 0.4982 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008402/0.1941, allocations: 0.7052 MB / 0.4988 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.1954, allocations: 0.8079 MB / 0.4996 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.1979, allocations: 2.418 MB / 0.502 GB, free: 1.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1979, allocations: 4 kB / 0.502 GB, free: 1.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1979, allocations: 0 / 0.502 GB, free: 1.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.282e-05/0.198, allocations: 0 / 0.502 GB, free: 1.086 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.2051/0.4031, allocations: 2.007 MB / 0.504 GB, free: 52.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4032, allocations: 11.03 kB / 0.504 GB, free: 52.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002962/0.4035, allocations: 244.4 kB / 0.5042 GB, free: 52.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.4047, allocations: 277.3 kB / 0.5045 GB, free: 51.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.4069, allocations: 1.362 MB / 0.5058 GB, free: 51.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.377e-05/0.407, allocations: 98.25 kB / 0.5059 GB, free: 51.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.4072, allocations: 122.7 kB / 0.506 GB, free: 51.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004917/0.4121, allocations: 2.993 MB / 0.5089 GB, free: 50.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/0.4122, allocations: 18.22 kB / 0.509 GB, free: 50.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.4123, allocations: 55.09 kB / 0.509 GB, free: 50.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006858/0.413, allocations: 435.6 kB / 0.5094 GB, free: 50.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004557/0.4176, allocations: 2.167 MB / 0.5115 GB, free: 49.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.4292, allocations: 10.73 MB / 0.522 GB, free: 41.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003456/0.4327, allocations: 1.232 MB / 0.5232 GB, free: 41.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/0.4333, allocations: 412.1 kB / 0.5236 GB, free: 41.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00305/0.4363, allocations: 2.995 MB / 0.5265 GB, free: 38.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.4364, allocations: 35 kB / 0.5266 GB, free: 38.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 1.863e-06/0.4364, allocations: 0 / 0.5266 GB, free: 38.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.009298/0.4457, allocations: 3.751 MB / 0.5302 GB, free: 35.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.4457, allocations: 85.67 kB / 0.5303 GB, free: 35.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.4467, allocations: 1.202 MB / 0.5315 GB, free: 34.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.4468, allocations: 37.7 kB / 0.5315 GB, free: 34.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.4471, allocations: 0.9355 MB / 0.5324 GB, free: 33.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.645e-05/0.4472, allocations: 221.1 kB / 0.5327 GB, free: 33.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.4474, allocations: 303.2 kB / 0.5329 GB, free: 32.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.146e-05/0.4475, allocations: 309.1 kB / 0.5332 GB, free: 32.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.4479, allocations: 411.7 kB / 0.5336 GB, free: 32.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.4486, allocations: 1.246 MB / 0.5348 GB, free: 30.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.4498, allocations: 1.795 MB / 0.5366 GB, free: 28.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.4498, allocations: 12 kB / 0.5366 GB, free: 28.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.00175/0.4516, allocations: 1.706 MB / 0.5383 GB, free: 26.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.4516, allocations: 16 kB / 0.5383 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.4516, allocations: 32 kB / 0.5383 GB, free: 26.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001518/0.4518, allocations: 85.48 kB / 0.5384 GB, free: 26.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/0.4526, allocations: 355.3 kB / 0.5387 GB, free: 26.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009319/0.4535, allocations: 1.69 MB / 0.5404 GB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/0.4542, allocations: 68.05 kB / 0.5405 GB, free: 24.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/0.4543, allocations: 88 kB / 0.5405 GB, free: 24.23 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.0005619/0.4549, allocations: 0.6361 MB / 0.5412 GB, free: 23.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.455, allocations: 114.5 kB / 0.5413 GB, free: 23.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008712/0.4559, allocations: 0.7155 MB / 0.542 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4559, allocations: 4 kB / 0.542 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4559, allocations: 6.562 kB / 0.542 GB, free: 22.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4559, allocations: 3.938 kB / 0.542 GB, free: 22.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.4582, allocations: 2.235 MB / 0.5442 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.4582, allocations: 8.031 kB / 0.5442 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.4585, allocations: 95.83 kB / 0.5443 GB, free: 20.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/0.4587, allocations: 72.73 kB / 0.5443 GB, free: 20.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.4587, allocations: 16 kB / 0.5444 GB, free: 20.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009703/0.4597, allocations: 1.748 MB / 0.5461 GB, free: 18.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4597, allocations: 7.938 kB / 0.5461 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009965/0.4607, allocations: 1.1 MB / 0.5471 GB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.4609, allocations: 183.8 kB / 0.5473 GB, free: 16.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-05/0.461, allocations: 19.98 kB / 0.5473 GB, free: 16.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.4613, allocations: 23.98 kB / 0.5474 GB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.4614, allocations: 39.89 kB / 0.5474 GB, free: 16.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.4614, allocations: 23.94 kB / 0.5474 GB, free: 16.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006462/0.462, allocations: 0.7677 MB / 0.5482 GB, free: 16.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.462, allocations: 0 / 0.5482 GB, free: 16.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001023/0.4631, allocations: 297.6 kB / 0.5485 GB, free: 15.77 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.001223/0.4643, allocations: 1.68 MB / 0.5501 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.4654, allocations: 1.083 MB / 0.5511 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4655, allocations: 0 / 0.5511 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003965/0.4659, allocations: 411.4 kB / 0.5515 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008475/0.4667, allocations: 169.2 kB / 0.5517 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.4773, allocations: 12.66 MB / 0.5641 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009833/0.4783, allocations: 1.451 MB / 0.5655 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009078/0.4792, allocations: 413.7 kB / 0.5659 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005579/0.4798, allocations: 0.5774 MB / 0.5664 GB, free: 11.99 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4798, allocations: 4 kB / 0.5664 GB, free: 11.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.213/2.693, allocations: 22.08 MB / 0.588 GB, free: 6.137 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/2.693, allocations: 213.1 kB / 0.5882 GB, free: 5.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/5.304, allocations: 7.594 kB / 0.5882 GB, free: 5.883 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches