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.0008216/0.0008217, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.000765/0.000765, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.225/1.225, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1721/0.1721, allocations: 44.25 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002947, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09355/0.09386, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02266/0.1166, allocations: 25.3 MB / 497.7 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.1285, allocations: 6.324 MB / 0.4922 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002962/0.1314, allocations: 107.7 kB / 0.4923 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005541/0.132, allocations: 167.1 kB / 0.4924 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.134, allocations: 0.8526 MB / 0.4933 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008497/0.1348, allocations: 483.3 kB / 0.4937 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002203/0.1371, allocations: 2.299 MB / 0.496 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.1398, allocations: 2.297 MB / 0.4982 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000715/0.1406, allocations: 0.494 MB / 0.4987 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.1416, allocations: 0.798 MB / 0.4995 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.1418, allocations: 52 kB / 0.4995 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008611/0.1426, allocations: 0.5576 MB / 0.5001 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005633/0.1432, allocations: 0.631 MB / 0.5007 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007124/0.1439, allocations: 0.7277 MB / 0.5014 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001977/0.1459, allocations: 2.347 MB / 0.5037 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1459, allocations: 3.938 kB / 0.5037 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1459, allocations: 0 / 0.5037 GB, free: 1.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.549e-05/0.146, allocations: 0 / 0.5037 GB, free: 1.586 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.1964/0.3424, allocations: 1.706 MB / 0.5054 GB, free: 18.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.3425, allocations: 10.03 kB / 0.5054 GB, free: 18.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007527/0.3432, allocations: 245.4 kB / 0.5056 GB, free: 18.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.3445, allocations: 280.4 kB / 0.5059 GB, free: 18.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.3467, allocations: 1.368 MB / 0.5072 GB, free: 18.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.327e-05/0.3468, allocations: 94.39 kB / 0.5073 GB, free: 18.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.347, allocations: 127.4 kB / 0.5074 GB, free: 18.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005311/0.3523, allocations: 2.996 MB / 0.5103 GB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.3524, allocations: 12.19 kB / 0.5104 GB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.3525, allocations: 55.2 kB / 0.5104 GB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006126/0.3531, allocations: 438.4 kB / 0.5108 GB, free: 17.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004286/0.3574, allocations: 2.171 MB / 0.5129 GB, free: 17.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009998/0.3674, allocations: 10.74 MB / 0.5234 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/0.371, allocations: 1.231 MB / 0.5246 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.3715, allocations: 407.8 kB / 0.525 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002805/0.3743, allocations: 2.999 MB / 0.528 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.3744, allocations: 40.61 kB / 0.528 GB, free: 9.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.805e-06/0.3744, allocations: 0 / 0.528 GB, free: 9.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.009876/0.3843, allocations: 3.762 MB / 0.5317 GB, free: 8.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.3843, allocations: 90.17 kB / 0.5318 GB, free: 8.195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.3854, allocations: 1.199 MB / 0.5329 GB, free: 7.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.3854, allocations: 36.33 kB / 0.533 GB, free: 7.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.3858, allocations: 0.9393 MB / 0.5339 GB, free: 6.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.617e-05/0.3859, allocations: 215 kB / 0.5341 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.386, allocations: 144.9 kB / 0.5342 GB, free: 6.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.035e-05/0.3861, allocations: 301.1 kB / 0.5345 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/0.3865, allocations: 408.4 kB / 0.5349 GB, free: 5.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007133/0.3873, allocations: 1.247 MB / 0.5361 GB, free: 4.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.3886, allocations: 1.794 MB / 0.5379 GB, free: 2.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.3886, allocations: 12.38 kB / 0.5379 GB, free: 2.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001922/0.3905, allocations: 1.71 MB / 0.5395 GB, free: 2.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.3906, allocations: 19.59 kB / 0.5396 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.3906, allocations: 30.34 kB / 0.5396 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/0.3908, allocations: 86.8 kB / 0.5397 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/0.3917, allocations: 357.4 kB / 0.54 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009784/0.3927, allocations: 1.694 MB / 0.5417 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007115/0.3934, allocations: 66.52 kB / 0.5417 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.3935, allocations: 84.22 kB / 0.5418 GB, free: 0.5938 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.0005994/0.3941, allocations: 0.6382 MB / 0.5424 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3942, allocations: 122.7 kB / 0.5426 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.3953, allocations: 0.7121 MB / 0.5432 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3953, allocations: 5.031 kB / 0.5433 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3953, allocations: 5.719 kB / 0.5433 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.3953, allocations: 3.938 kB / 0.5433 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/0.3983, allocations: 2.245 MB / 0.5455 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.3983, allocations: 4 kB / 0.5455 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.3986, allocations: 101.4 kB / 0.5456 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/0.3988, allocations: 61.52 kB / 0.5456 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.3988, allocations: 12 kB / 0.5456 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.4002, allocations: 1.758 MB / 0.5473 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4002, allocations: 4 kB / 0.5473 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.4015, allocations: 1.103 MB / 0.5484 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.4017, allocations: 183.6 kB / 0.5486 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.412e-05/0.4018, allocations: 20.19 kB / 0.5486 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.4021, allocations: 27.98 kB / 0.5486 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.4022, allocations: 50.58 kB / 0.5487 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.4022, allocations: 20 kB / 0.5487 GB, free: 9.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000816/0.403, allocations: 0.7663 MB / 0.5495 GB, free: 9.219 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.403, allocations: 0 / 0.5495 GB, free: 9.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001101/0.4042, allocations: 296 kB / 0.5497 GB, free: 8.93 MB / 398.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.001569/0.4057, allocations: 1.667 MB / 0.5514 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.4071, allocations: 1.087 MB / 0.5524 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.4071, allocations: 4 kB / 0.5524 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004989/0.4076, allocations: 406.8 kB / 0.5528 GB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.4091, allocations: 179 kB / 0.553 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.4226, allocations: 12.73 MB / 0.5654 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.4237, allocations: 1.451 MB / 0.5668 GB, free: 6.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009252/0.4246, allocations: 409.7 kB / 0.5672 GB, free: 5.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/0.4252, allocations: 0.5813 MB / 0.5678 GB, free: 5.309 MB / 414.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4252, allocations: 0 / 0.5678 GB, free: 5.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/0.4598, allocations: 21.81 MB / 0.5891 GB, free: 15.77 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.46, allocations: 216.3 kB / 0.5893 GB, free: 15.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/2.587, allocations: 3.375 kB / 0.5893 GB, free: 15.52 MB / 446.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