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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002123/0.002123, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.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.244/0.244, allocations: 44.92 MB / 349.6 MB, free: 1.754 MB / 270.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.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.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 64.56 kB / 491.8 MB, free: 29.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.128, allocations: 64.26 MB / 0.543 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.015/0.143, allocations: 12.35 MB / 0.5551 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00822/0.1512, allocations: 3.882 MB / 0.5589 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.153, allocations: 59.88 kB / 0.5589 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003115/0.1561, allocations: 1.339 MB / 0.5602 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.1606, allocations: 1.79 MB / 0.562 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1618, allocations: 423.2 kB / 0.5624 GB, free: 204 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005043/0.1668, allocations: 3.581 MB / 0.5659 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002693/0.1695, allocations: 1.783 MB / 0.5676 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.1716, allocations: 1.203 MB / 0.5688 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.1745, allocations: 1.931 MB / 0.5707 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007611/0.1752, allocations: 236 kB / 0.5709 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.1773, allocations: 0.8581 MB / 0.5717 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002102/0.1794, allocations: 1.632 MB / 0.5733 GB, free: 4.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003025/0.1824, allocations: 1.886 MB / 0.5752 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008612/0.191, allocations: 6.173 MB / 0.5812 GB, free: 12.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.1911, allocations: 7.938 kB / 0.5812 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1911, allocations: 4 kB / 0.5812 GB, free: 12.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002615/0.1913, allocations: 0 / 0.5812 GB, free: 12.81 MB / 446.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.009972/0.2013, allocations: 4.183 MB / 0.5853 GB, free: 8.551 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.2013, allocations: 16.03 kB / 0.5853 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001736/0.2031, allocations: 0.6962 MB / 0.586 GB, free: 7.828 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.214, allocations: 3.106 MB / 0.589 GB, free: 4.715 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005965/0.2199, allocations: 2.241 MB / 0.5912 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.2201, allocations: 192.8 kB / 0.5914 GB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/0.2213, allocations: 251.7 kB / 0.5916 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02084/0.2421, allocations: 10.18 MB / 0.6016 GB, free: 7.375 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001758/0.2423, allocations: 35.7 kB / 0.6016 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/0.2434, allocations: 115.8 kB / 0.6017 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00443/0.2478, allocations: 2.463 MB / 0.6041 GB, free: 4.762 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3216/0.5694, allocations: 9.348 MB / 0.6133 GB, free: 52.43 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04702/0.6164, allocations: 31.52 MB / 0.644 GB, free: 32.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005123/0.6216, allocations: 3.258 MB / 0.6472 GB, free: 30 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.623, allocations: 0.9876 MB / 0.6482 GB, free: 29.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009173/0.6239, allocations: 1.313 MB / 0.6495 GB, free: 28.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.6239, allocations: 44.69 kB / 0.6495 GB, free: 28.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=185): time 4.188e-06/0.6239, allocations: 7.625 kB / 0.6495 GB, free: 28.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=191): time 0.01883/0.6428, allocations: 9.165 MB / 0.6585 GB, free: 22.11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.6428, allocations: 68.72 kB / 0.6585 GB, free: 22.03 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/0.6459, allocations: 2.62 MB / 0.6611 GB, free: 19.45 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002529/0.6462, allocations: 49.7 kB / 0.6611 GB, free: 19.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.6474, allocations: 2.787 MB / 0.6639 GB, free: 16.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000664/0.6481, allocations: 0.739 MB / 0.6646 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/0.6497, allocations: 0.9595 MB / 0.6655 GB, free: 14.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.6497, allocations: 305.1 kB / 0.6658 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.6518, allocations: 1.544 MB / 0.6673 GB, free: 13.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003397/0.6552, allocations: 4.369 MB / 0.6716 GB, free: 7.336 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005997/0.6612, allocations: 6.556 MB / 0.678 GB, free: 15.38 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.286e-05/0.6612, allocations: 32 kB / 0.678 GB, free: 15.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01199/0.6732, allocations: 5.848 MB / 0.6837 GB, free: 9.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.6734, allocations: 48 kB / 0.6838 GB, free: 9.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002538/0.6736, allocations: 100 kB / 0.6839 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005519/0.6742, allocations: 173.5 kB / 0.684 GB, free: 9.184 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/0.6782, allocations: 1.068 MB / 0.6851 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.6805, allocations: 1.797 MB / 0.6868 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/0.6841, allocations: 201.9 kB / 0.687 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/0.6851, allocations: 299.7 kB / 0.6873 GB, free: 5.688 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 (592): * Single equations (assignments): 585 * 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.004872/0.6899, allocations: 1.985 MB / 0.6892 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008465/0.6908, allocations: 262.3 kB / 0.6895 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005677/0.6965, allocations: 2.533 MB / 0.692 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.94e-05/0.6965, allocations: 20 kB / 0.692 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.6965, allocations: 3.938 kB / 0.692 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.031e-05/0.6966, allocations: 11.97 kB / 0.692 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01997/0.7165, allocations: 7.938 MB / 0.6998 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.543e-05/0.7166, allocations: 8.219 kB / 0.6998 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.7179, allocations: 251.6 kB / 0.7 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002348/0.7181, allocations: 56.83 kB / 0.7001 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/0.7184, allocations: 36 kB / 0.7001 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.7202, allocations: 1.635 MB / 0.7017 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.711e-05/0.7203, allocations: 15.94 kB / 0.7017 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006773/0.727, allocations: 4.032 MB / 0.7056 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007916/0.7278, allocations: 307.3 kB / 0.7059 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005166/0.7283, allocations: 47.05 kB / 0.706 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.7294, allocations: 51.95 kB / 0.706 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/0.7297, allocations: 124.7 kB / 0.7062 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.7298, allocations: 66.72 kB / 0.7062 GB, free: 1.836 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003009/0.7328, allocations: 1.608 MB / 0.7078 GB, free: 224 kB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7328, allocations: 0 / 0.7078 GB, free: 224 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.004115/0.7369, allocations: 0.7929 MB / 0.7086 GB, free: 15.42 MB / 0.4981 GB 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.007062/0.744, allocations: 4.715 MB / 0.7132 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006559/0.7506, allocations: 3.713 MB / 0.7168 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.7506, allocations: 64 / 0.7168 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.7525, allocations: 1.162 MB / 0.7179 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.7549, allocations: 356.5 kB / 0.7183 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06132/0.8163, allocations: 33.37 MB / 0.7508 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005398/0.8216, allocations: 3.13 MB / 0.7539 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004339/0.826, allocations: 1.71 MB / 0.7556 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003116/0.8291, allocations: 1.698 MB / 0.7572 GB, free: 9.16 MB / 0.545 GB Notification: Performance of SimCode: time 1.233e-06/0.8291, allocations: 3.938 kB / 0.7572 GB, free: 9.156 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/0.9636, allocations: 46.08 MB / 0.8022 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.93/17.89, allocations: 3.984 kB / 0.8022 GB, free: 11.27 MB / 0.5919 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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: 21.575809394940734]