Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 111.6 kB / 17.86 MB, free: 5.504 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.001284/0.001284, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.344/1.344, allocations: 222.9 MB / 242.5 MB, free: 15.48 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.2105/0.2105, allocations: 44.18 MB / 336.8 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.47 kB / 408.3 MB, free: 27.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1047, allocations: 60.85 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02541/0.1301, allocations: 29.69 MB / 498.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.1437, allocations: 6.754 MB / 0.4938 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005349/0.1491, allocations: 119.7 kB / 0.4939 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002744/0.1519, allocations: 1.27 MB / 0.4951 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.1558, allocations: 1.643 MB / 0.4967 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009115/0.1567, allocations: 391.4 kB / 0.4971 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005278/0.162, allocations: 4.99 MB / 0.502 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2577/0.4197, allocations: 1.978 MB / 0.5039 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.4226, allocations: 1.042 MB / 0.5049 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/0.4264, allocations: 1.829 MB / 0.5067 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009049/0.4273, allocations: 174.8 kB / 0.5069 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.4297, allocations: 0.811 MB / 0.5077 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002248/0.432, allocations: 1.543 MB / 0.5092 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002773/0.4348, allocations: 1.838 MB / 0.511 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007078/0.4419, allocations: 4.74 MB / 0.5156 GB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.922e-06/0.4419, allocations: 0 / 0.5156 GB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4419, allocations: 0.5938 kB / 0.5156 GB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002492/0.4422, allocations: 4.625 kB / 0.5156 GB, free: 10.39 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01161/0.4538, allocations: 4.07 MB / 0.5196 GB, free: 8.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.4539, allocations: 8.875 kB / 0.5196 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.465, allocations: 3.065 MB / 0.5226 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005476/0.4706, allocations: 1.918 MB / 0.5245 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.4708, allocations: 187.5 kB / 0.5246 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001619/0.4724, allocations: 254 kB / 0.5249 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/0.4914, allocations: 10.17 MB / 0.5348 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.4916, allocations: 21.44 kB / 0.5348 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005335/0.4921, allocations: 126.3 kB / 0.535 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003434/0.4956, allocations: 2.461 MB / 0.5374 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01956/0.5151, allocations: 9.35 MB / 0.5465 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04878/0.564, allocations: 31.67 MB / 0.5774 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006069/0.5701, allocations: 3.363 MB / 0.5807 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.5717, allocations: 1.065 MB / 0.5817 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.5728, allocations: 1.311 MB / 0.583 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.5729, allocations: 43.88 kB / 0.5831 GB, free: 4.379 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 6.472e-06/0.5729, allocations: 4 kB / 0.5831 GB, free: 4.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.02094/0.5938, allocations: 9.099 MB / 0.592 GB, free: 11.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.5939, allocations: 68.72 kB / 0.592 GB, free: 11.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004534/0.5985, allocations: 2.607 MB / 0.5946 GB, free: 8.496 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003245/0.5988, allocations: 48.12 kB / 0.5946 GB, free: 8.445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001875/0.6007, allocations: 2.672 MB / 0.5972 GB, free: 5.766 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008654/0.6016, allocations: 0.7034 MB / 0.5979 GB, free: 5.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/0.6029, allocations: 0.963 MB / 0.5988 GB, free: 4.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.603, allocations: 305.1 kB / 0.5991 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/0.6054, allocations: 1.552 MB / 0.6007 GB, free: 2.238 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00413/0.6096, allocations: 4.387 MB / 0.6049 GB, free: 12.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007478/0.6171, allocations: 6.57 MB / 0.6114 GB, free: 4.938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.436e-05/0.6172, allocations: 31.09 kB / 0.6114 GB, free: 4.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01066/0.6279, allocations: 5.857 MB / 0.6171 GB, free: 15.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.353e-05/0.628, allocations: 51.94 kB / 0.6172 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/0.6281, allocations: 100 kB / 0.6172 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003467/0.6284, allocations: 177 kB / 0.6174 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003473/0.6319, allocations: 1.072 MB / 0.6185 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.6335, allocations: 1.673 MB / 0.6201 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/0.6368, allocations: 212 kB / 0.6203 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005733/0.6373, allocations: 298.4 kB / 0.6206 GB, free: 12.09 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (596): * Single equations (assignments): 589 * 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.004194/0.6415, allocations: 1.988 MB / 0.6225 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005136/0.6421, allocations: 240.8 kB / 0.6228 GB, free: 9.945 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.646, allocations: 2.535 MB / 0.6252 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.652e-05/0.6461, allocations: 26.97 kB / 0.6253 GB, free: 7.367 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.6461, allocations: 6.188 kB / 0.6253 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.6461, allocations: 7.969 kB / 0.6253 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.6596, allocations: 7.961 MB / 0.633 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.6596, allocations: 12 kB / 0.6331 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009602/0.6606, allocations: 247.6 kB / 0.6333 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/0.6608, allocations: 61.84 kB / 0.6334 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.6609, allocations: 43.98 kB / 0.6334 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.6622, allocations: 1.51 MB / 0.6349 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.6622, allocations: 11.94 kB / 0.6349 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004947/0.6672, allocations: 4.019 MB / 0.6388 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007811/0.668, allocations: 305.7 kB / 0.6391 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/0.6683, allocations: 35.05 kB / 0.6391 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007487/0.669, allocations: 55.95 kB / 0.6392 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.6693, allocations: 116.7 kB / 0.6393 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.6694, allocations: 67.98 kB / 0.6394 GB, free: 8.477 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002578/0.672, allocations: 1.603 MB / 0.6409 GB, free: 6.863 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.672, allocations: 0 / 0.6409 GB, free: 6.863 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004189/0.6762, allocations: 0.7966 MB / 0.6417 GB, free: 6.07 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * 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.0004559/0.6767, allocations: 194.1 kB / 0.6419 GB, free: 5.871 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006364/0.683, allocations: 3.837 MB / 0.6456 GB, free: 2.047 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/0.6831, allocations: 7.938 kB / 0.6456 GB, free: 2.039 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.6849, allocations: 1.229 MB / 0.6468 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.6872, allocations: 338.5 kB / 0.6472 GB, free: 492 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/0.7046, allocations: 10.95 MB / 0.6579 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003597/0.7082, allocations: 3.138 MB / 0.6609 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000828/0.7091, allocations: 227.4 kB / 0.6611 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of SimCode: time 1.173e-06/0.7091, allocations: 0 / 0.6611 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of Templates: time 0.3312/1.04, allocations: 64.95 MB / 0.7246 GB, free: 203.9 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches