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.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.0007485/0.0007485, allocations: 76.53 kB / 19.92 MB, free: 4.637 MB / 18.57 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.0008034/0.0008034, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8108/0.8108, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1229/0.1229, allocations: 32.37 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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.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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.358e-06/1.053e-05, allocations: 6.078 kB / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.007479/0.00749, allocations: 11.07 MB / 417.9 MB, free: 7.105 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004888/0.01238, allocations: 3.715 MB / 421.6 MB, free: 3.379 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008027/0.01318, allocations: 71.75 kB / 421.7 MB, free: 3.309 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.01487, allocations: 1.354 MB / 423.1 MB, free: 1.949 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.01698, allocations: 1.902 MB / 425 MB, free: 40 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.01756, allocations: 463 kB / 425.4 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.01981, allocations: 3.999 MB / 429.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.02139, allocations: 2.152 MB / 431.6 MB, free: 9.383 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.02266, allocations: 1.91 MB / 433.5 MB, free: 7.469 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.024, allocations: 1.991 MB / 435.5 MB, free: 5.473 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.02421, allocations: 248 kB / 435.7 MB, free: 5.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007646/0.02497, allocations: 0.7957 MB / 436.5 MB, free: 4.434 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.02598, allocations: 1.741 MB / 438.2 MB, free: 2.688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006037/0.02658, allocations: 1.047 MB / 439.3 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003429/0.03001, allocations: 6.252 MB / 445.5 MB, free: 11.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.03002, allocations: 0 / 445.5 MB, free: 11.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.03002, allocations: 0 / 445.5 MB, free: 11.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.97e-05/0.03005, allocations: 4 kB / 445.5 MB, free: 11.36 MB / 426.7 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.00327/0.03332, allocations: 4.209 MB / 449.8 MB, free: 7.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.03335, allocations: 16.03 kB / 449.8 MB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004801/0.03383, allocations: 0.7168 MB / 450.5 MB, free: 6.348 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005608/0.03944, allocations: 3.188 MB / 453.7 MB, free: 3.152 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.04141, allocations: 2.09 MB / 455.8 MB, free: 1.027 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.59e-05/0.04149, allocations: 201.1 kB / 456 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.04179, allocations: 252.2 kB / 456.2 MB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008007/0.04979, allocations: 10.39 MB / 466.6 MB, free: 5.727 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.778e-05/0.04984, allocations: 27.77 kB / 466.6 MB, free: 5.699 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/0.05007, allocations: 123.8 kB / 466.7 MB, free: 5.578 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002037/0.05211, allocations: 2.542 MB / 469.3 MB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1522/0.2043, allocations: 9.427 MB / 478.7 MB, free: 91.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01887/0.2232, allocations: 30.92 MB / 0.4977 GB, free: 72.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.2263, allocations: 2.45 MB / 0.5001 GB, free: 71.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009701/0.2272, allocations: 1 MB / 0.5011 GB, free: 71.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005327/0.2278, allocations: 439.8 kB / 0.5015 GB, free: 71.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2278, allocations: 50.53 kB / 0.5015 GB, free: 71.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=187): time 3.747e-06/0.2278, allocations: 0 / 0.5015 GB, free: 71.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=193): time 0.01239/0.2402, allocations: 10.04 MB / 0.5113 GB, free: 67.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.2402, allocations: 95.12 kB / 0.5114 GB, free: 67.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.2425, allocations: 3.034 MB / 0.5144 GB, free: 66.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/0.2425, allocations: 52 kB / 0.5144 GB, free: 66.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008132/0.2433, allocations: 2.842 MB / 0.5172 GB, free: 64.28 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.2436, allocations: 0.7324 MB / 0.5179 GB, free: 63.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006151/0.2442, allocations: 0.9697 MB / 0.5189 GB, free: 63.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.357e-05/0.2442, allocations: 305.7 kB / 0.5192 GB, free: 62.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.2456, allocations: 1.556 MB / 0.5207 GB, free: 62.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.2475, allocations: 4.471 MB / 0.525 GB, free: 56.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003358/0.2509, allocations: 6.682 MB / 0.5316 GB, free: 49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-05/0.2509, allocations: 28 kB / 0.5316 GB, free: 48.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.004235/0.2552, allocations: 5.947 MB / 0.5374 GB, free: 43.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.2552, allocations: 52.06 kB / 0.5374 GB, free: 43.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/0.2552, allocations: 104 kB / 0.5375 GB, free: 43.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.2554, allocations: 180.5 kB / 0.5377 GB, free: 43.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.2569, allocations: 1.093 MB / 0.5388 GB, free: 42.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007715/0.2577, allocations: 1.695 MB / 0.5404 GB, free: 40.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.2591, allocations: 246 kB / 0.5407 GB, free: 40.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.2593, allocations: 302.7 kB / 0.541 GB, free: 40.16 MB / 442.7 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.001713/0.261, allocations: 2.025 MB / 0.5429 GB, free: 38.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.2612, allocations: 270.2 kB / 0.5432 GB, free: 38.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.2631, allocations: 2.531 MB / 0.5457 GB, free: 35.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.2631, allocations: 20 kB / 0.5457 GB, free: 35.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2631, allocations: 7.938 kB / 0.5457 GB, free: 35.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.2631, allocations: 11.91 kB / 0.5457 GB, free: 35.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006237/0.2693, allocations: 8 MB / 0.5535 GB, free: 27.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.2693, allocations: 15.09 kB / 0.5535 GB, free: 27.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.2698, allocations: 249.4 kB / 0.5538 GB, free: 27.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.928e-05/0.2699, allocations: 57.58 kB / 0.5538 GB, free: 27.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.27, allocations: 46.56 kB / 0.5539 GB, free: 27.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000585/0.2706, allocations: 1.523 MB / 0.5554 GB, free: 25.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.2706, allocations: 15.94 kB / 0.5554 GB, free: 25.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.2731, allocations: 4.052 MB / 0.5593 GB, free: 21.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004796/0.2736, allocations: 470.1 kB / 0.5598 GB, free: 20.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.2738, allocations: 38.25 kB / 0.5598 GB, free: 20.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.2742, allocations: 79.91 kB / 0.5599 GB, free: 20.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.2743, allocations: 132.5 kB / 0.56 GB, free: 20.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/0.2744, allocations: 70.25 kB / 0.5601 GB, free: 20.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001166/0.2756, allocations: 1.793 MB / 0.5618 GB, free: 18.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2756, allocations: 0 / 0.5618 GB, free: 18.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00193/0.2775, allocations: 0.8769 MB / 0.5627 GB, free: 17.75 MB / 442.7 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.002718/0.2802, allocations: 4.742 MB / 0.5673 GB, free: 12.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002687/0.2829, allocations: 3.757 MB / 0.571 GB, free: 9.102 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2829, allocations: 4 kB / 0.571 GB, free: 9.098 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000747/0.2837, allocations: 1.175 MB / 0.5721 GB, free: 7.914 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000971/0.2846, allocations: 359.5 kB / 0.5725 GB, free: 7.574 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02847/0.3131, allocations: 34.66 MB / 0.6063 GB, free: 496 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/0.3152, allocations: 2.65 MB / 0.6089 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002157/0.3174, allocations: 1.745 MB / 0.6106 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.3187, allocations: 1.762 MB / 0.6124 GB, free: 10.29 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3187, allocations: 0 / 0.6124 GB, free: 10.29 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1894/0.5081, allocations: 47.42 MB / 0.6587 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.908/9.416, allocations: 11.23 kB / 0.6587 GB, free: 160.2 MB / 0.5105 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 11.422372736036777]