Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",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.001718/0.001718, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.001571/0.001571, allocations: 185.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2452/0.2452, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 73.45 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1366, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01601/0.1527, allocations: 12.66 MB / 0.4998 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01/0.1627, allocations: 3.891 MB / 0.5036 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/0.1655, allocations: 63.88 kB / 0.5036 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003757/0.1693, allocations: 1.327 MB / 0.5049 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006194/0.1756, allocations: 1.778 MB / 0.5067 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.1772, allocations: 431.2 kB / 0.5071 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006682/0.1839, allocations: 3.657 MB / 0.5107 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003972/0.188, allocations: 2.044 MB / 0.5126 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/0.191, allocations: 1.234 MB / 0.5139 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003658/0.1947, allocations: 1.779 MB / 0.5156 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.1958, allocations: 244 kB / 0.5158 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.199, allocations: 0.8192 MB / 0.5166 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002718/0.2018, allocations: 1.624 MB / 0.5182 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004155/0.206, allocations: 1.945 MB / 0.5201 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.2169, allocations: 6.301 MB / 0.5263 GB, free: 4.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.2169, allocations: 4 kB / 0.5263 GB, free: 4.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.217, allocations: 0 / 0.5263 GB, free: 4.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000318/0.2173, allocations: 4 kB / 0.5263 GB, free: 4.305 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.2939/0.5112, allocations: 4.272 MB / 0.5304 GB, free: 37.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/0.5113, allocations: 13.67 kB / 0.5305 GB, free: 37.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002775/0.5141, allocations: 0.7222 MB / 0.5312 GB, free: 37.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/0.5269, allocations: 3.113 MB / 0.5342 GB, free: 36.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006882/0.5338, allocations: 2.401 MB / 0.5365 GB, free: 36.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.5341, allocations: 196.6 kB / 0.5367 GB, free: 36.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00157/0.5357, allocations: 252.6 kB / 0.537 GB, free: 36.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02627/0.562, allocations: 10.39 MB / 0.5471 GB, free: 32.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/0.5623, allocations: 27.25 kB / 0.5471 GB, free: 32.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001251/0.5635, allocations: 121.4 kB / 0.5473 GB, free: 32.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00511/0.5686, allocations: 2.555 MB / 0.5498 GB, free: 31.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0195/0.5882, allocations: 9.461 MB / 0.559 GB, free: 25.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04705/0.6353, allocations: 32.33 MB / 0.5906 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006634/0.642, allocations: 3.364 MB / 0.5939 GB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.644, allocations: 1.081 MB / 0.5949 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.6455, allocations: 1.31 MB / 0.5962 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.6456, allocations: 51.81 kB / 0.5962 GB, free: 2.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 5.941e-06/0.6456, allocations: 0 / 0.5962 GB, free: 2.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02474/0.6703, allocations: 9.938 MB / 0.6059 GB, free: 8.449 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.6705, allocations: 90.42 kB / 0.606 GB, free: 8.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004915/0.6754, allocations: 2.674 MB / 0.6086 GB, free: 5.648 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003268/0.6758, allocations: 49.7 kB / 0.6087 GB, free: 5.594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002728/0.6785, allocations: 2.861 MB / 0.6115 GB, free: 2.703 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001106/0.6796, allocations: 0.7519 MB / 0.6122 GB, free: 1.945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001932/0.6816, allocations: 0.9851 MB / 0.6132 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6817, allocations: 301.1 kB / 0.6135 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/0.6847, allocations: 1.556 MB / 0.615 GB, free: 15.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006193/0.6909, allocations: 4.469 MB / 0.6193 GB, free: 9.172 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009476/0.7005, allocations: 6.688 MB / 0.6259 GB, free: 1.055 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/0.7006, allocations: 28 kB / 0.6259 GB, free: 1.027 MB / 462.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01337/0.714, allocations: 5.947 MB / 0.6317 GB, free: 11.06 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.7142, allocations: 48 kB / 0.6318 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000164/0.7143, allocations: 100 kB / 0.6319 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.7148, allocations: 176.8 kB / 0.632 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003925/0.7188, allocations: 1.096 MB / 0.6331 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.721, allocations: 1.801 MB / 0.6349 GB, free: 7.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/0.7248, allocations: 215.9 kB / 0.6351 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/0.7259, allocations: 296.5 kB / 0.6353 GB, free: 7.207 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (605): * Single equations (assignments): 598 * Array equations: 6 * 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.005105/0.731, allocations: 2.04 MB / 0.6373 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000667/0.7317, allocations: 270.2 kB / 0.6376 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005016/0.7367, allocations: 2.534 MB / 0.6401 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.934e-05/0.7368, allocations: 27.94 kB / 0.6401 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.7368, allocations: 0 / 0.6401 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.7368, allocations: 10.31 kB / 0.6401 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/0.7548, allocations: 8.148 MB / 0.6481 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/0.7549, allocations: 9.219 kB / 0.6481 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.7561, allocations: 255.6 kB / 0.6483 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/0.7563, allocations: 60.83 kB / 0.6484 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/0.7565, allocations: 43.98 kB / 0.6484 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.7583, allocations: 1.629 MB / 0.65 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/0.7584, allocations: 15.94 kB / 0.65 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006913/0.7653, allocations: 4.068 MB / 0.654 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/0.7671, allocations: 0.507 MB / 0.6545 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006523/0.7678, allocations: 36 kB / 0.6545 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.769, allocations: 60.14 kB / 0.6546 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/0.7694, allocations: 132.6 kB / 0.6547 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.7695, allocations: 68 kB / 0.6548 GB, free: 2.758 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003353/0.7729, allocations: 1.644 MB / 0.6564 GB, free: 1.105 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7729, allocations: 0 / 0.6564 GB, free: 1.105 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005427/0.7784, allocations: 0.8046 MB / 0.6572 GB, free: 308 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.007722/0.7861, allocations: 4.758 MB / 0.6618 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007441/0.7936, allocations: 3.915 MB / 0.6656 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-05/0.7937, allocations: 4 kB / 0.6656 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002323/0.796, allocations: 1.241 MB / 0.6668 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.7989, allocations: 346 kB / 0.6672 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06327/0.8622, allocations: 34.13 MB / 0.7005 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00645/0.8687, allocations: 3.195 MB / 0.7036 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004538/0.8733, allocations: 1.738 MB / 0.7053 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003512/0.8769, allocations: 1.753 MB / 0.707 GB, free: 8.586 MB / 0.545 GB Notification: Performance of SimCode: time 1.473e-06/0.8769, allocations: 0 / 0.707 GB, free: 8.586 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3874/1.264, allocations: 46.32 MB / 0.7523 GB, free: 191.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.74/20, allocations: 2.625 kB / 0.7523 GB, free: 191.9 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches