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.001389/0.001389, allocations: 107.7 kB / 17.33 MB, free: 5.996 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.001378/0.001378, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.9 MB, free: 15.43 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.2223/0.2223, allocations: 44.17 MB / 336.2 MB, free: 2.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.75 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1255, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0282/0.1538, allocations: 26.12 MB / 494.9 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01554/0.1694, allocations: 6.288 MB / 0.4895 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005795/0.1752, allocations: 111.7 kB / 0.4896 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003122/0.1784, allocations: 1.321 MB / 0.4909 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.1815, allocations: 0.8683 MB / 0.4917 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1829, allocations: 491.3 kB / 0.4922 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002851/0.1858, allocations: 1.671 MB / 0.4938 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002702/0.1885, allocations: 1.737 MB / 0.4955 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.1898, allocations: 0.6853 MB / 0.4962 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.1916, allocations: 0.9659 MB / 0.4971 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000593/0.1922, allocations: 140 kB / 0.4973 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.1939, allocations: 0.5968 MB / 0.4979 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.1951, allocations: 0.7365 MB / 0.4986 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.1968, allocations: 0.8353 MB / 0.4994 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003168/0.1999, allocations: 2.473 MB / 0.5018 GB, free: 1.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2, allocations: 4 kB / 0.5018 GB, free: 1.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2, allocations: 0 / 0.5018 GB, free: 1.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.2, allocations: 0 / 0.5018 GB, free: 1.395 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.2633/0.4633, allocations: 2.006 MB / 0.5038 GB, free: 52.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/0.4634, allocations: 11.2 kB / 0.5038 GB, free: 52.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004841/0.4639, allocations: 245.6 kB / 0.504 GB, free: 52.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.4655, allocations: 273 kB / 0.5043 GB, free: 52.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.4688, allocations: 1.377 MB / 0.5056 GB, free: 51.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.4689, allocations: 92.34 kB / 0.5057 GB, free: 51.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.4692, allocations: 127.8 kB / 0.5058 GB, free: 51.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006789/0.476, allocations: 2.98 MB / 0.5087 GB, free: 50.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.828e-05/0.4761, allocations: 21.55 kB / 0.5088 GB, free: 50.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.4762, allocations: 55.12 kB / 0.5088 GB, free: 50.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007825/0.477, allocations: 437.7 kB / 0.5092 GB, free: 50.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005191/0.4822, allocations: 2.157 MB / 0.5113 GB, free: 49.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.4956, allocations: 10.74 MB / 0.5218 GB, free: 42.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003715/0.4994, allocations: 1.227 MB / 0.523 GB, free: 41.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.5, allocations: 408.6 kB / 0.5234 GB, free: 41.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003406/0.5034, allocations: 2.996 MB / 0.5263 GB, free: 38.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.5034, allocations: 43.62 kB / 0.5264 GB, free: 38.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.076e-06/0.5034, allocations: 0 / 0.5264 GB, free: 38.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01039/0.5138, allocations: 3.755 MB / 0.53 GB, free: 36.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.5139, allocations: 81.67 kB / 0.5301 GB, free: 35.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.5152, allocations: 1.206 MB / 0.5313 GB, free: 34.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.5153, allocations: 41.55 kB / 0.5313 GB, free: 34.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.5157, allocations: 0.9395 MB / 0.5323 GB, free: 33.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.5158, allocations: 213.1 kB / 0.5325 GB, free: 33.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003073/0.5161, allocations: 307.2 kB / 0.5328 GB, free: 33.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.5162, allocations: 313.1 kB / 0.5331 GB, free: 32.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.5167, allocations: 407.7 kB / 0.5334 GB, free: 32.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008001/0.5175, allocations: 1.237 MB / 0.5346 GB, free: 30.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.519, allocations: 1.798 MB / 0.5364 GB, free: 28.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.181e-05/0.519, allocations: 12 kB / 0.5364 GB, free: 28.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002148/0.5212, allocations: 1.707 MB / 0.5381 GB, free: 26.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.5212, allocations: 16.19 kB / 0.5381 GB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.5213, allocations: 36 kB / 0.5381 GB, free: 26.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.5215, allocations: 80.83 kB / 0.5382 GB, free: 26.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000909/0.5224, allocations: 351.3 kB / 0.5385 GB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.5236, allocations: 1.869 MB / 0.5404 GB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009035/0.5245, allocations: 68.92 kB / 0.5404 GB, free: 24.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/0.5246, allocations: 91.98 kB / 0.5405 GB, free: 24.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.0008017/0.5254, allocations: 0.6401 MB / 0.5411 GB, free: 23.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.5256, allocations: 118.4 kB / 0.5413 GB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.5267, allocations: 0.7116 MB / 0.542 GB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.5267, allocations: 4 kB / 0.542 GB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.5267, allocations: 7.938 kB / 0.542 GB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5267, allocations: 7.922 kB / 0.542 GB, free: 22.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.5296, allocations: 2.231 MB / 0.5442 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.5297, allocations: 8.438 kB / 0.5442 GB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.53, allocations: 99.83 kB / 0.5443 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/0.5302, allocations: 64.81 kB / 0.5443 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.5302, allocations: 16 kB / 0.5443 GB, free: 20.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.5315, allocations: 1.935 MB / 0.5462 GB, free: 18.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.5315, allocations: 12.06 kB / 0.5462 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.5327, allocations: 1.099 MB / 0.5473 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.533, allocations: 183.5 kB / 0.5475 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.5331, allocations: 16 kB / 0.5475 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.5335, allocations: 23.98 kB / 0.5475 GB, free: 16.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.5336, allocations: 55.88 kB / 0.5476 GB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.5336, allocations: 20 kB / 0.5476 GB, free: 16.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008418/0.5345, allocations: 0.756 MB / 0.5483 GB, free: 15.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5345, allocations: 0 / 0.5483 GB, free: 15.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001344/0.5359, allocations: 300.5 kB / 0.5486 GB, free: 15.61 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.001533/0.5374, allocations: 1.679 MB / 0.5503 GB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.5392, allocations: 1.193 MB / 0.5514 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5392, allocations: 0 / 0.5514 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.5396, allocations: 410.5 kB / 0.5518 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.5407, allocations: 184.8 kB / 0.552 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.5563, allocations: 12.66 MB / 0.5644 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.5579, allocations: 1.451 MB / 0.5658 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001197/0.5591, allocations: 409.7 kB / 0.5662 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008218/0.5599, allocations: 0.5774 MB / 0.5667 GB, free: 11.72 MB / 398.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5599, allocations: 4 kB / 0.5667 GB, free: 11.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05117/0.6111, allocations: 22.51 MB / 0.5887 GB, free: 5.465 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003524/0.6115, allocations: 220.7 kB / 0.5889 GB, free: 5.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.172, allocations: 0 / 0.5889 GB, free: 5.211 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