Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.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.001511/0.001511, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001573/0.001573, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.545/1.545, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2457/0.2457, allocations: 46.91 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Prismatic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00318/0.00318, allocations: 75.88 kB / 0.4909 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1463, allocations: 65.98 MB / 0.5554 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01603/0.1623, allocations: 12.32 MB / 0.5674 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.173, allocations: 3.881 MB / 0.5712 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.1759, allocations: 71.75 kB / 0.5713 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003937/0.1798, allocations: 1.339 MB / 0.5726 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006015/0.1858, allocations: 1.759 MB / 0.5743 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.1875, allocations: 427.2 kB / 0.5747 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006803/0.1943, allocations: 3.599 MB / 0.5782 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003916/0.1982, allocations: 1.775 MB / 0.5799 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003356/0.2016, allocations: 1.207 MB / 0.5811 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003912/0.2055, allocations: 1.919 MB / 0.583 GB, free: 9.414 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.2067, allocations: 240 kB / 0.5832 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.2095, allocations: 0.8346 MB / 0.584 GB, free: 8.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002687/0.2121, allocations: 1.608 MB / 0.5856 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004088/0.2162, allocations: 1.871 MB / 0.5874 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.341/0.5572, allocations: 6.098 MB / 0.5934 GB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.5572, allocations: 0 / 0.5934 GB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5572, allocations: 0.5312 kB / 0.5934 GB, free: 12.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002661/0.5575, allocations: 0.5156 kB / 0.5934 GB, free: 12.49 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.01265/0.5701, allocations: 4.142 MB / 0.5974 GB, free: 10.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.5702, allocations: 12.25 kB / 0.5975 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002268/0.5724, allocations: 0.7053 MB / 0.5981 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/0.5857, allocations: 3.105 MB / 0.6012 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006879/0.5925, allocations: 2.132 MB / 0.6033 GB, free: 9.801 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004247/0.593, allocations: 187.8 kB / 0.6034 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/0.595, allocations: 247.8 kB / 0.6037 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02211/0.6171, allocations: 10.18 MB / 0.6136 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002036/0.6173, allocations: 22.5 kB / 0.6136 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/0.6187, allocations: 117 kB / 0.6137 GB, free: 7.344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005062/0.6237, allocations: 2.464 MB / 0.6162 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01989/0.6436, allocations: 9.356 MB / 0.6253 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05642/0.7, allocations: 31.53 MB / 0.6561 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007037/0.7071, allocations: 3.246 MB / 0.6592 GB, free: 2.348 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.709, allocations: 0.9938 MB / 0.6602 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/0.7106, allocations: 1.309 MB / 0.6615 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/0.7107, allocations: 45.62 kB / 0.6615 GB, free: 15.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 6.813e-06/0.7107, allocations: 0 / 0.6615 GB, free: 15.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02585/0.7365, allocations: 9.173 MB / 0.6705 GB, free: 6.547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.7366, allocations: 66.12 kB / 0.6706 GB, free: 6.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005682/0.7423, allocations: 2.619 MB / 0.6731 GB, free: 3.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.7425, allocations: 45.7 kB / 0.6732 GB, free: 3.781 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0028/0.7453, allocations: 2.785 MB / 0.6759 GB, free: 1.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009831/0.7463, allocations: 0.726 MB / 0.6766 GB, free: 308 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002075/0.7483, allocations: 0.9731 MB / 0.6775 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.7485, allocations: 308.9 kB / 0.6778 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003051/0.7515, allocations: 1.54 MB / 0.6793 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0062/0.7577, allocations: 4.373 MB / 0.6836 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.7679, allocations: 6.552 MB / 0.69 GB, free: 208 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/0.768, allocations: 28 kB / 0.69 GB, free: 180 kB / 0.4981 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01333/0.7813, allocations: 5.855 MB / 0.6958 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.7815, allocations: 51.98 kB / 0.6958 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002031/0.7817, allocations: 100 kB / 0.6959 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.7821, allocations: 172.8 kB / 0.6961 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004151/0.7863, allocations: 1.061 MB / 0.6971 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.7886, allocations: 1.798 MB / 0.6989 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/0.7919, allocations: 207.9 kB / 0.6991 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009129/0.7928, allocations: 299.9 kB / 0.6993 GB, free: 6.93 MB / 0.5137 GB 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.0044/0.7972, allocations: 1.983 MB / 0.7013 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006788/0.7979, allocations: 266.2 kB / 0.7015 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00557/0.8035, allocations: 2.529 MB / 0.704 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.953e-05/0.8035, allocations: 25.58 kB / 0.704 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.8035, allocations: 4 kB / 0.704 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/0.8036, allocations: 3.984 kB / 0.704 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/0.8215, allocations: 7.934 MB / 0.7118 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.986e-05/0.8215, allocations: 12 kB / 0.7118 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.8227, allocations: 249.2 kB / 0.712 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.823, allocations: 64.75 kB / 0.7121 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001969/0.8232, allocations: 44.58 kB / 0.7121 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.8249, allocations: 1.618 MB / 0.7137 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/0.8249, allocations: 15.94 kB / 0.7137 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006784/0.8317, allocations: 4.038 MB / 0.7177 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008708/0.8326, allocations: 307.3 kB / 0.718 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006302/0.8332, allocations: 36.19 kB / 0.718 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.8345, allocations: 62.53 kB / 0.7181 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/0.8348, allocations: 120.6 kB / 0.7182 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/0.835, allocations: 71.92 kB / 0.7182 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003436/0.8384, allocations: 1.6 MB / 0.7198 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8384, allocations: 1.781 kB / 0.7198 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004557/0.843, allocations: 0.7797 MB / 0.7206 GB, free: 0.6836 MB / 0.5294 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.007283/0.8503, allocations: 4.708 MB / 0.7252 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006941/0.8572, allocations: 3.714 MB / 0.7288 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/0.8572, allocations: 0 / 0.7288 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002359/0.8596, allocations: 1.169 MB / 0.7299 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.8623, allocations: 352.8 kB / 0.7303 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0687/0.931, allocations: 33.34 MB / 0.7628 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006094/0.9371, allocations: 3.132 MB / 0.7659 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004405/0.9415, allocations: 1.71 MB / 0.7676 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00303/0.9445, allocations: 1.694 MB / 0.7692 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of SimCode: time 1.443e-06/0.9445, allocations: 0 / 0.7692 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/1.054, allocations: 46.01 MB / 0.8141 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.95/19.01, allocations: 4 kB / 0.8141 GB, free: 12.74 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 22.513789970893413]