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.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.00148/0.00148, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001589/0.001589, allocations: 210.7 kB / 23.74 MB, free: 4.66 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.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2479/0.2479, allocations: 44.92 MB / 358.8 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 180] 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.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_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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 67.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3624, allocations: 65.48 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01194/0.3744, allocations: 8.699 MB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008515/0.3829, allocations: 3.516 MB / 0.569 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.3847, allocations: 51.75 kB / 0.569 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003321/0.388, allocations: 1.386 MB / 0.5704 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003058/0.391, allocations: 0.9339 MB / 0.5713 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.3923, allocations: 0.5147 MB / 0.5718 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003222/0.3955, allocations: 1.726 MB / 0.5735 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.3978, allocations: 1.26 MB / 0.5747 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.3993, allocations: 0.6659 MB / 0.5754 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.4012, allocations: 0.9464 MB / 0.5763 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004824/0.4017, allocations: 140 kB / 0.5764 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.4033, allocations: 0.589 MB / 0.577 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.4045, allocations: 0.7441 MB / 0.5777 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.4063, allocations: 0.8353 MB / 0.5785 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.4105, allocations: 2.483 MB / 0.581 GB, free: 15.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4105, allocations: 4 kB / 0.581 GB, free: 15.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4105, allocations: 0 / 0.581 GB, free: 15.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001103/0.4106, allocations: 0 / 0.581 GB, free: 15.11 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.004641/0.4153, allocations: 1.982 MB / 0.5829 GB, free: 13.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4153, allocations: 12.03 kB / 0.5829 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003633/0.4157, allocations: 249.4 kB / 0.5831 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.4169, allocations: 283.6 kB / 0.5834 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.4196, allocations: 1.226 MB / 0.5846 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.4197, allocations: 102.3 kB / 0.5847 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.4199, allocations: 124 kB / 0.5848 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005958/0.4259, allocations: 2.996 MB / 0.5878 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-05/0.426, allocations: 15.89 kB / 0.5878 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.4261, allocations: 55.98 kB / 0.5878 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006693/0.4268, allocations: 434 kB / 0.5882 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005241/0.432, allocations: 2.179 MB / 0.5904 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.4478, allocations: 10.65 MB / 0.6008 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/0.452, allocations: 1.199 MB / 0.6019 GB, free: 9.055 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/0.4528, allocations: 371 kB / 0.6023 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004597/0.4574, allocations: 2.104 MB / 0.6043 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/0.4574, allocations: 39 kB / 0.6044 GB, free: 6.508 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.775e-06/0.4574, allocations: 0 / 0.6044 GB, free: 6.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01278/0.4702, allocations: 3.59 MB / 0.6079 GB, free: 2.859 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/0.4703, allocations: 85.61 kB / 0.608 GB, free: 2.758 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.4725, allocations: 1.19 MB / 0.6091 GB, free: 1.555 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.4725, allocations: 37.64 kB / 0.6092 GB, free: 1.512 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008251/0.4733, allocations: 0.9585 MB / 0.6101 GB, free: 0.543 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.4736, allocations: 234.1 kB / 0.6103 GB, free: 320 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004246/0.474, allocations: 311.3 kB / 0.6106 GB, free: 0 / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4742, allocations: 305.1 kB / 0.6109 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007347/0.4749, allocations: 411.7 kB / 0.6113 GB, free: 15.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.4764, allocations: 1.25 MB / 0.6125 GB, free: 13.63 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00255/0.4789, allocations: 1.799 MB / 0.6143 GB, free: 11.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-05/0.479, allocations: 8 kB / 0.6143 GB, free: 11.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.00321/0.4822, allocations: 1.723 MB / 0.616 GB, free: 9.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.4822, allocations: 16 kB / 0.616 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.186e-05/0.4822, allocations: 28 kB / 0.616 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.4825, allocations: 88.77 kB / 0.6161 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.4837, allocations: 355.5 kB / 0.6164 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.4857, allocations: 1.777 MB / 0.6182 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.4868, allocations: 72.05 kB / 0.6182 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.4869, allocations: 87.94 kB / 0.6183 GB, free: 7.148 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.001113/0.488, allocations: 0.6422 MB / 0.619 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.4883, allocations: 119.2 kB / 0.6191 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.4886, allocations: 131.6 kB / 0.6192 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.4886, allocations: 15.98 kB / 0.6192 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4886, allocations: 0 / 0.6192 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.4886, allocations: 0 / 0.6192 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004361/0.4929, allocations: 2.219 MB / 0.6214 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.4929, allocations: 4 kB / 0.6214 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.4934, allocations: 99.83 kB / 0.6215 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.4936, allocations: 60.81 kB / 0.6215 GB, free: 3.754 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.4936, allocations: 16 kB / 0.6215 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.4957, allocations: 1.84 MB / 0.6233 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.4957, allocations: 4 kB / 0.6233 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.4975, allocations: 1.118 MB / 0.6244 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.4978, allocations: 111.2 kB / 0.6245 GB, free: 500 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.498, allocations: 16 kB / 0.6246 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.4984, allocations: 31.91 kB / 0.6246 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.4985, allocations: 43.94 kB / 0.6246 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.4985, allocations: 23.98 kB / 0.6247 GB, free: 384 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001374/0.4999, allocations: 0.7596 MB / 0.6254 GB, free: 15.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4999, allocations: 4 kB / 0.6254 GB, free: 15.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001586/0.5015, allocations: 292 kB / 0.6257 GB, free: 15.32 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.002318/0.5038, allocations: 1.684 MB / 0.6273 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002299/0.5061, allocations: 1.065 MB / 0.6284 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.5061, allocations: 4 kB / 0.6284 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006611/0.5068, allocations: 396 kB / 0.6287 GB, free: 12.08 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.5079, allocations: 184.7 kB / 0.6289 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02223/0.5301, allocations: 11.52 MB / 0.6402 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/0.5323, allocations: 1.447 MB / 0.6416 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001098/0.5334, allocations: 413.5 kB / 0.642 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009219/0.5343, allocations: 0.5774 MB / 0.6425 GB, free: 12.86 MB / 494.1 MB Notification: Performance of SimCode: time 1.342e-06/0.5343, allocations: 0 / 0.6425 GB, free: 12.86 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07292/0.6073, allocations: 24.33 MB / 0.6663 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.43, allocations: 7.969 kB / 0.6663 GB, free: 4.762 MB / 0.4981 GB " [Timeout remaining time 645] (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 --stepSize=0.0009996 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.74869104800746]