Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.00144/0.00144, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001538/0.001538, allocations: 191.8 kB / 23.7 MB, free: 4.195 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.314/1.314, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 51.91 kB / 370.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2893, allocations: 52.19 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01283/0.3022, allocations: 8.996 MB / 431.6 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009922/0.3121, allocations: 3.6 MB / 435.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.3146, allocations: 67.69 kB / 435.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004854/0.3194, allocations: 1.908 MB / 437.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006097/0.3255, allocations: 1.708 MB / 438.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.3276, allocations: 0.6199 MB / 439.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006037/0.3337, allocations: 3.325 MB / 442.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003981/0.3376, allocations: 2.113 MB / 444.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.3407, allocations: 1.261 MB / 446.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003531/0.3442, allocations: 1.728 MB / 447.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001092/0.3453, allocations: 256 kB / 448.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.3482, allocations: 0.9284 MB / 449.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002557/0.3507, allocations: 1.62 MB / 450.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003589/0.3543, allocations: 1.347 MB / 452.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008855/0.3632, allocations: 5.883 MB / 457.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3632, allocations: 0 / 457.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.3632, allocations: 7.938 kB / 457.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002558/0.3635, allocations: 0 / 457.9 MB, free: 10.84 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01006/0.3735, allocations: 4.057 MB / 462 MB, free: 6.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.3736, allocations: 8.031 kB / 462 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000857/0.3744, allocations: 0.6043 MB / 462.6 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006062/0.3805, allocations: 1.812 MB / 464.4 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005144/0.3856, allocations: 2.215 MB / 466.6 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.3858, allocations: 192.8 kB / 466.8 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005126/0.3863, allocations: 259.8 kB / 467.1 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.4, allocations: 8.448 MB / 475.5 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-05/0.4001, allocations: 43.62 kB / 475.6 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003092/0.4004, allocations: 127.9 kB / 475.7 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002731/0.4031, allocations: 1.688 MB / 477.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/0.416, allocations: 7.082 MB / 484.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04428/0.4603, allocations: 32.8 MB / 0.5051 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007289/0.4675, allocations: 2.728 MB / 0.5078 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.4695, allocations: 1.359 MB / 0.5091 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006895/0.4764, allocations: 3.345 MB / 0.5124 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/0.4765, allocations: 51.14 kB / 0.5124 GB, free: 6.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.767e-06/0.4765, allocations: 0 / 0.5124 GB, free: 6.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02822/0.5047, allocations: 11.52 MB / 0.5237 GB, free: 10.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.5048, allocations: 149.2 kB / 0.5238 GB, free: 10.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005666/0.5104, allocations: 3.951 MB / 0.5277 GB, free: 6.438 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.5106, allocations: 41.7 kB / 0.5277 GB, free: 6.391 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002208/0.5128, allocations: 2.866 MB / 0.5305 GB, free: 3.496 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006732/0.5135, allocations: 0.5429 MB / 0.5311 GB, free: 2.949 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001626/0.5151, allocations: 1.076 MB / 0.5321 GB, free: 1.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5152, allocations: 309.1 kB / 0.5324 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2646/0.7799, allocations: 1.687 MB / 0.5341 GB, free: 107.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005574/0.7855, allocations: 5.118 MB / 0.5391 GB, free: 103.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007541/0.793, allocations: 7.405 MB / 0.5463 GB, free: 96.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001443/0.7931, allocations: 34.94 kB / 0.5463 GB, free: 96.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01069/0.8038, allocations: 6.711 MB / 0.5529 GB, free: 94.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.31e-05/0.8039, allocations: 61.38 kB / 0.5529 GB, free: 94.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/0.8041, allocations: 121.4 kB / 0.553 GB, free: 94.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005906/0.8047, allocations: 325.5 kB / 0.5534 GB, free: 94.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003437/0.8081, allocations: 1.24 MB / 0.5546 GB, free: 93.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.8101, allocations: 2.383 MB / 0.5569 GB, free: 91.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/0.8134, allocations: 291.5 kB / 0.5572 GB, free: 90.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004315/0.8139, allocations: 331.8 kB / 0.5575 GB, free: 90.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * 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.002003/0.8159, allocations: 1.782 MB / 0.5592 GB, free: 88.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004268/0.8163, allocations: 327.5 kB / 0.5595 GB, free: 88.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/0.82, allocations: 2.351 MB / 0.5618 GB, free: 87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.82, allocations: 15.94 kB / 0.5619 GB, free: 86.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.82, allocations: 4 kB / 0.5619 GB, free: 86.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.82, allocations: 3.984 kB / 0.5619 GB, free: 86.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008825/0.8289, allocations: 5.652 MB / 0.5674 GB, free: 81.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.8289, allocations: 3.938 kB / 0.5674 GB, free: 81.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/0.8296, allocations: 167.8 kB / 0.5675 GB, free: 81.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.8313, allocations: 0.721 MB / 0.5682 GB, free: 80.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.702e-05/0.8314, allocations: 23.94 kB / 0.5683 GB, free: 80.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004412/0.8358, allocations: 4.667 MB / 0.5728 GB, free: 76.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8358, allocations: 4 kB / 0.5728 GB, free: 76.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00508/0.8409, allocations: 4.333 MB / 0.5771 GB, free: 71.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005886/0.8415, allocations: 302.6 kB / 0.5774 GB, free: 71.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/0.8418, allocations: 24.12 kB / 0.5774 GB, free: 71.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009447/0.8427, allocations: 71.84 kB / 0.5774 GB, free: 71.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.8428, allocations: 64.53 kB / 0.5775 GB, free: 71.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/0.8429, allocations: 39.98 kB / 0.5775 GB, free: 71.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002335/0.8453, allocations: 2.319 MB / 0.5798 GB, free: 69.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8453, allocations: 0 / 0.5798 GB, free: 69.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003169/0.8484, allocations: 0.8194 MB / 0.5806 GB, free: 68.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005081/0.8535, allocations: 4.974 MB / 0.5855 GB, free: 63.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004408/0.8579, allocations: 3.879 MB / 0.5893 GB, free: 59.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8579, allocations: 10.03 kB / 0.5893 GB, free: 59.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.859, allocations: 1.03 MB / 0.5903 GB, free: 58.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.8606, allocations: 383.2 kB / 0.5906 GB, free: 58.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03339/0.894, allocations: 37.76 MB / 0.6275 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.896, allocations: 2.237 MB / 0.6297 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002856/0.8988, allocations: 1.657 MB / 0.6313 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/0.9004, allocations: 1.517 MB / 0.6328 GB, free: 9.738 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.9004, allocations: 3.938 kB / 0.6328 GB, free: 9.734 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.159/3.059, allocations: 58.16 MB / 0.6896 GB, free: 320 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.31/21.37, allocations: 0.75 kB / 0.6896 GB, free: 320 kB / 494.1 MB " [Timeout remaining time 638] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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: 24.353301261086017]