Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007859/0.0007859, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007583/0.0007583, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8959/0.8959, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.133e-05, allocations: 7.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.009056/0.009087, allocations: 8.999 MB / 333.5 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009324/0.01841, allocations: 3.607 MB / 337.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.02028, allocations: 67.62 kB / 337.2 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.02324, allocations: 2.001 MB / 339.2 MB, free: 1.129 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.02736, allocations: 1.725 MB / 340.9 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.02883, allocations: 0.6664 MB / 341.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004288/0.03312, allocations: 3.754 MB / 345.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003276/0.03639, allocations: 2.371 MB / 347.7 MB, free: 8.547 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002747/0.03914, allocations: 1.894 MB / 349.6 MB, free: 6.648 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.04135, allocations: 1.812 MB / 351.4 MB, free: 4.832 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002668/0.04161, allocations: 260 kB / 351.7 MB, free: 4.578 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.04318, allocations: 0.971 MB / 352.6 MB, free: 3.605 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.04429, allocations: 1.659 MB / 354.3 MB, free: 1.941 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000864/0.04515, allocations: 1.036 MB / 355.3 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005135/0.05029, allocations: 5.821 MB / 361.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.485e-06/0.0503, allocations: 4 kB / 361.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.007e-06/0.0503, allocations: 0 / 361.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.567e-05/0.05035, allocations: 0 / 361.2 MB, free: 11.06 MB / 330.7 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.005575/0.05592, allocations: 4.053 MB / 365.2 MB, free: 6.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.161e-05/0.05599, allocations: 11.98 kB / 365.2 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006924/0.05669, allocations: 0.6159 MB / 365.9 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004192/0.06088, allocations: 1.843 MB / 367.7 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002923/0.0638, allocations: 1.938 MB / 369.6 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.06395, allocations: 196.8 kB / 369.8 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003785/0.06433, allocations: 251.8 kB / 370.1 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.07526, allocations: 8.468 MB / 378.5 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.669e-05/0.07535, allocations: 39.64 kB / 378.6 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003256/0.07568, allocations: 123.9 kB / 378.7 MB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002/0.07768, allocations: 1.699 MB / 380.4 MB, free: 7.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/0.08916, allocations: 7.086 MB / 387.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03071/0.1199, allocations: 32.98 MB / 420.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005382/0.1253, allocations: 2.825 MB / 423.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.1265, allocations: 1.361 MB / 424.7 MB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004554/0.1311, allocations: 3.514 MB / 428.2 MB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.1311, allocations: 51.16 kB / 428.2 MB, free: 6.105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=121): time 4.479e-06/0.1311, allocations: 3.984 kB / 428.2 MB, free: 6.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=129): time 0.02121/0.1524, allocations: 11.93 MB / 440.1 MB, free: 10.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.1524, allocations: 141.2 kB / 440.3 MB, free: 9.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/0.1567, allocations: 4.103 MB / 444.4 MB, free: 5.832 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.1567, allocations: 41.98 kB / 444.4 MB, free: 5.785 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001609/0.1583, allocations: 2.831 MB / 447.3 MB, free: 2.926 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/0.1586, allocations: 0.5351 MB / 447.8 MB, free: 2.387 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.1597, allocations: 1.068 MB / 448.9 MB, free: 1.309 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.1598, allocations: 309.1 kB / 449.2 MB, free: 1.004 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1887/0.3485, allocations: 1.695 MB / 450.9 MB, free: 113.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/0.3515, allocations: 5.121 MB / 456 MB, free: 108.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/0.3553, allocations: 7.416 MB / 463.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.814e-05/0.3553, allocations: 36.44 kB / 463.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.005372/0.3607, allocations: 6.72 MB / 470.2 MB, free: 99.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.3608, allocations: 60 kB / 470.2 MB, free: 99.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.046e-05/0.3608, allocations: 120 kB / 470.3 MB, free: 99.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/0.3611, allocations: 318.4 kB / 470.6 MB, free: 99.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.3629, allocations: 1.248 MB / 471.9 MB, free: 98.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.3641, allocations: 2.368 MB / 474.3 MB, free: 95.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.3659, allocations: 325.9 kB / 474.6 MB, free: 95.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.3661, allocations: 333.3 kB / 474.9 MB, free: 95.19 MB / 410.7 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.00142/0.3675, allocations: 1.79 MB / 476.7 MB, free: 93.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.3677, allocations: 325.8 kB / 477 MB, free: 93.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/0.37, allocations: 2.368 MB / 479.4 MB, free: 91.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.37, allocations: 12 kB / 479.4 MB, free: 91.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.37, allocations: 4 kB / 479.4 MB, free: 91.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.37, allocations: 7.844 kB / 479.4 MB, free: 91.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005165/0.3752, allocations: 5.717 MB / 485.1 MB, free: 86.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3752, allocations: 0 / 485.1 MB, free: 86.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.3756, allocations: 179.7 kB / 485.3 MB, free: 85.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.3766, allocations: 0.7145 MB / 486 MB, free: 85.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.3766, allocations: 27.98 kB / 486 MB, free: 85.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00301/0.3797, allocations: 4.72 MB / 490.8 MB, free: 80.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3797, allocations: 7.969 kB / 490.8 MB, free: 80.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003327/0.383, allocations: 4.341 MB / 495.1 MB, free: 76.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.3833, allocations: 325.3 kB / 495.4 MB, free: 75.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.3834, allocations: 29.78 kB / 495.4 MB, free: 75.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/0.384, allocations: 95.8 kB / 495.5 MB, free: 75.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.3841, allocations: 76.45 kB / 495.6 MB, free: 75.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.3842, allocations: 32 kB / 495.6 MB, free: 75.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001684/0.3859, allocations: 2.463 MB / 498.1 MB, free: 73.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3859, allocations: 0 / 498.1 MB, free: 73.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002145/0.388, allocations: 0.8795 MB / 499 MB, free: 72.33 MB / 410.7 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.003554/0.3916, allocations: 4.992 MB / 0.4922 GB, free: 67.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003041/0.3946, allocations: 3.885 MB / 0.496 GB, free: 63.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3946, allocations: 4.25 kB / 0.496 GB, free: 63.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007351/0.3954, allocations: 1.034 MB / 0.497 GB, free: 62.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.3965, allocations: 407.6 kB / 0.4974 GB, free: 62.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02446/0.421, allocations: 38.14 MB / 0.5346 GB, free: 18.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.4224, allocations: 2.235 MB / 0.5368 GB, free: 16.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001848/0.4242, allocations: 1.656 MB / 0.5384 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.4253, allocations: 1.531 MB / 0.5399 GB, free: 13.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4253, allocations: 0 / 0.5399 GB, free: 13.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0626/0.4878, allocations: 59.53 MB / 0.598 GB, free: 2.309 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.203/9.691, allocations: 11.84 kB / 0.5981 GB, free: 2.297 MB / 458.7 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 11.954426776617765]