Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.000966/0.000966, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.000925/0.000925, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8922/0.8922, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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.2433/0.2433, allocations: 34.25 MB / 294.9 MB, free: 0.7031 MB / 266.7 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.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 3.938 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.085e-05, allocations: 2.281 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2083/0.2083, allocations: 7.648 MB / 449.8 MB, free: 40.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004172/0.2125, allocations: 3.282 MB / 453.1 MB, free: 38.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000455/0.213, allocations: 52.22 kB / 453.2 MB, free: 38.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.2143, allocations: 1.396 MB / 454.6 MB, free: 37.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.2153, allocations: 0.9703 MB / 455.5 MB, free: 37.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.2158, allocations: 0.5596 MB / 456.1 MB, free: 36.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.2169, allocations: 2.06 MB / 458.1 MB, free: 36.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008813/0.2178, allocations: 1.496 MB / 459.6 MB, free: 35.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006228/0.2184, allocations: 1.023 MB / 460.7 MB, free: 35.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.2191, allocations: 0.9856 MB / 461.7 MB, free: 34.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.2192, allocations: 143.8 kB / 461.8 MB, free: 34.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.2197, allocations: 0.5709 MB / 462.4 MB, free: 34.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.22, allocations: 0.783 MB / 463.1 MB, free: 34.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.2203, allocations: 0.5415 MB / 463.7 MB, free: 34.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.2217, allocations: 2.563 MB / 466.3 MB, free: 33.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2217, allocations: 0 / 466.3 MB, free: 33.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2217, allocations: 0 / 466.3 MB, free: 33.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.2217, allocations: 0 / 466.3 MB, free: 33.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.001955/0.2237, allocations: 2.015 MB / 468.3 MB, free: 32.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2237, allocations: 9.781 kB / 468.3 MB, free: 32.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.2239, allocations: 248.4 kB / 468.5 MB, free: 31.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006256/0.2245, allocations: 314.5 kB / 468.8 MB, free: 31.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.2255, allocations: 1.071 MB / 469.9 MB, free: 31.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.2256, allocations: 91.7 kB / 470 MB, free: 31.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.2257, allocations: 128.5 kB / 470.1 MB, free: 31.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/0.2284, allocations: 3.046 MB / 473.2 MB, free: 29.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.2285, allocations: 13.83 kB / 473.2 MB, free: 29.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.91e-05/0.2285, allocations: 54.94 kB / 473.2 MB, free: 29.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002935/0.2288, allocations: 443 kB / 473.7 MB, free: 29.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.2312, allocations: 2.168 MB / 475.8 MB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006314/0.2375, allocations: 10.36 MB / 486.2 MB, free: 21.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.2399, allocations: 1.273 MB / 487.5 MB, free: 21.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/0.2404, allocations: 373.5 kB / 487.8 MB, free: 21.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002353/0.2427, allocations: 2.077 MB / 489.9 MB, free: 20.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.2427, allocations: 39.72 kB / 489.9 MB, free: 20.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 1.733e-06/0.2427, allocations: 0 / 489.9 MB, free: 20.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.00722/0.25, allocations: 3.809 MB / 493.7 MB, free: 19.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.25, allocations: 87.98 kB / 493.8 MB, free: 19.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.2513, allocations: 1.395 MB / 495.2 MB, free: 18.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.2513, allocations: 36.7 kB / 495.3 MB, free: 18.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000469/0.2518, allocations: 0.9608 MB / 496.2 MB, free: 17.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.2519, allocations: 231.1 kB / 496.5 MB, free: 17.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.2522, allocations: 305.2 kB / 496.7 MB, free: 17.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.2523, allocations: 303 kB / 497 MB, free: 17.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/0.2528, allocations: 416.5 kB / 497.5 MB, free: 17.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/0.2537, allocations: 1.277 MB / 498.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.255, allocations: 1.797 MB / 0.4888 GB, free: 14.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.255, allocations: 9.438 kB / 0.4888 GB, free: 14.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001878/0.2569, allocations: 1.725 MB / 0.4905 GB, free: 13.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.2569, allocations: 17.47 kB / 0.4905 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/0.2569, allocations: 29.59 kB / 0.4905 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.2571, allocations: 92 kB / 0.4906 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/0.2578, allocations: 352.2 kB / 0.491 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.2589, allocations: 1.765 MB / 0.4927 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.2595, allocations: 105.8 kB / 0.4928 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-05/0.2596, allocations: 85.83 kB / 0.4929 GB, free: 11.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (190): * Single equations (assignments): 189 * Array equations: 0 * 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.0008091/0.2604, allocations: 0.6338 MB / 0.4935 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.2606, allocations: 120.7 kB / 0.4936 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.2607, allocations: 133.9 kB / 0.4937 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.2607, allocations: 17.22 kB / 0.4937 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/0.2607, allocations: 5.094 kB / 0.4937 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.2608, allocations: 2.719 kB / 0.4937 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.2637, allocations: 2.165 MB / 0.4959 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2637, allocations: 2.969 kB / 0.4959 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.2639, allocations: 103.9 kB / 0.496 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.2641, allocations: 69.08 kB / 0.496 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.2641, allocations: 16.97 kB / 0.496 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.2651, allocations: 1.828 MB / 0.4978 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.2651, allocations: 5.5 kB / 0.4978 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.2662, allocations: 1.11 MB / 0.4989 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.2663, allocations: 126.8 kB / 0.499 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-05/0.2664, allocations: 19.62 kB / 0.4991 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.2667, allocations: 43.38 kB / 0.4991 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.2667, allocations: 54.98 kB / 0.4992 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.2668, allocations: 19.22 kB / 0.4992 GB, free: 7.941 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.2678, allocations: 0.8835 MB / 0.5 GB, free: 7.609 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2678, allocations: 1.375 kB / 0.5 GB, free: 7.609 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001164/0.269, allocations: 349.7 kB / 0.5004 GB, free: 7.578 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001543/0.2705, allocations: 1.696 MB / 0.502 GB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.2716, allocations: 1.061 MB / 0.5031 GB, free: 5.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.2716, allocations: 0 / 0.5031 GB, free: 5.277 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.272, allocations: 396 kB / 0.5034 GB, free: 4.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.2726, allocations: 188.7 kB / 0.5036 GB, free: 4.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.2827, allocations: 11.93 MB / 0.5153 GB, free: 8.406 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/0.2834, allocations: 0.8708 MB / 0.5161 GB, free: 7.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005643/0.2839, allocations: 405.6 kB / 0.5165 GB, free: 7.102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/0.2844, allocations: 0.5862 MB / 0.5171 GB, free: 6.516 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/0.2844, allocations: 0 / 0.5171 GB, free: 6.516 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04476/0.3292, allocations: 25.23 MB / 0.5417 GB, free: 13.63 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/8.007, allocations: 10.2 kB / 0.5417 GB, free: 13.62 MB / 458.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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: 10.167840032838285]