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.002142/0.002142, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 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.00227/0.00227, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002234/0.002234, allocations: 59.91 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.297, allocations: 53.42 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01309/0.3101, allocations: 10.27 MB / 441.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008656/0.3188, allocations: 3.83 MB / 445.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.3205, allocations: 71.62 kB / 445.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004177/0.3246, allocations: 1.989 MB / 447.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005035/0.3297, allocations: 1.669 MB / 449 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.3313, allocations: 0.6122 MB / 449.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005808/0.3371, allocations: 3.368 MB / 453 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003579/0.3407, allocations: 2.114 MB / 455.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/0.3434, allocations: 1.265 MB / 456.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003247/0.3467, allocations: 1.806 MB / 458.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008258/0.3475, allocations: 256 kB / 458.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.3501, allocations: 1.057 MB / 459.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002321/0.3524, allocations: 1.589 MB / 461.1 MB, free: 8.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003535/0.3559, allocations: 1.813 MB / 462.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009258/0.3652, allocations: 5.813 MB / 468.7 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.3652, allocations: 3.938 kB / 468.7 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3652, allocations: 4 kB / 468.7 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002363/0.3654, allocations: 0 / 468.7 MB, free: 0.9727 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.01064/0.3761, allocations: 4.042 MB / 472.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.3761, allocations: 8.031 kB / 472.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00145/0.3776, allocations: 0.6082 MB / 473.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006818/0.3844, allocations: 1.804 MB / 475.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005525/0.3899, allocations: 2.098 MB / 477.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.3901, allocations: 196.8 kB / 477.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009172/0.3911, allocations: 247.9 kB / 477.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.4078, allocations: 8.447 MB / 486.2 MB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001519/0.4079, allocations: 39.7 kB / 486.2 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007469/0.4087, allocations: 119.9 kB / 486.3 MB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003286/0.4119, allocations: 1.699 MB / 488 MB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.4275, allocations: 7.121 MB / 495.1 MB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05001/0.4775, allocations: 33.96 MB / 0.5167 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007697/0.4852, allocations: 2.734 MB / 0.5194 GB, free: 12 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.4874, allocations: 1.363 MB / 0.5207 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007412/0.4949, allocations: 3.684 MB / 0.5243 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.4949, allocations: 47.16 kB / 0.5243 GB, free: 10.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 4.338e-06/0.4949, allocations: 0 / 0.5243 GB, free: 10.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.2513/0.7462, allocations: 11.52 MB / 0.5356 GB, free: 101.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.7463, allocations: 144.3 kB / 0.5357 GB, free: 101.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006623/0.7529, allocations: 3.726 MB / 0.5394 GB, free: 100.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003028/0.7532, allocations: 45.55 kB / 0.5394 GB, free: 100.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/0.755, allocations: 2.859 MB / 0.5422 GB, free: 98.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006151/0.7557, allocations: 0.5431 MB / 0.5427 GB, free: 98.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001511/0.7572, allocations: 1.083 MB / 0.5438 GB, free: 98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.197e-05/0.7572, allocations: 306.3 kB / 0.5441 GB, free: 97.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/0.7596, allocations: 1.701 MB / 0.5457 GB, free: 97.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004185/0.7638, allocations: 5.12 MB / 0.5507 GB, free: 91.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006509/0.7703, allocations: 7.411 MB / 0.558 GB, free: 85.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/0.7704, allocations: 35.25 kB / 0.558 GB, free: 85.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01167/0.7821, allocations: 6.717 MB / 0.5646 GB, free: 80.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.033e-05/0.7822, allocations: 60 kB / 0.5646 GB, free: 80.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/0.7823, allocations: 120 kB / 0.5647 GB, free: 80.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/0.7829, allocations: 321.5 kB / 0.5651 GB, free: 80.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003761/0.7867, allocations: 1.24 MB / 0.5663 GB, free: 79.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.789, allocations: 2.392 MB / 0.5686 GB, free: 76.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004081/0.7931, allocations: 295.5 kB / 0.5689 GB, free: 76.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008349/0.7939, allocations: 343.4 kB / 0.5692 GB, free: 75.9 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.003069/0.797, allocations: 1.78 MB / 0.5709 GB, free: 74.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007368/0.7977, allocations: 325.8 kB / 0.5713 GB, free: 73.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/0.802, allocations: 2.362 MB / 0.5736 GB, free: 71.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.402e-05/0.8021, allocations: 15.98 kB / 0.5736 GB, free: 71.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.8021, allocations: 7.938 kB / 0.5736 GB, free: 71.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.8021, allocations: 7.984 kB / 0.5736 GB, free: 71.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.8129, allocations: 5.889 MB / 0.5793 GB, free: 65.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.813, allocations: 1.969 kB / 0.5793 GB, free: 65.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008592/0.8138, allocations: 167.8 kB / 0.5795 GB, free: 65.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/0.8158, allocations: 0.7225 MB / 0.5802 GB, free: 64.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.8159, allocations: 20 kB / 0.5802 GB, free: 64.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004965/0.8209, allocations: 4.708 MB / 0.5848 GB, free: 59.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8209, allocations: 0 / 0.5848 GB, free: 59.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007025/0.8279, allocations: 4.345 MB / 0.5891 GB, free: 55.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009967/0.8289, allocations: 301.7 kB / 0.5894 GB, free: 55.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004564/0.8293, allocations: 24.94 kB / 0.5894 GB, free: 55.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.8304, allocations: 67.91 kB / 0.5894 GB, free: 55.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.8306, allocations: 79.91 kB / 0.5895 GB, free: 54.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/0.8307, allocations: 36 kB / 0.5896 GB, free: 54.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002813/0.8335, allocations: 2.319 MB / 0.5918 GB, free: 52.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8335, allocations: 0 / 0.5918 GB, free: 52.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004021/0.8375, allocations: 0.8007 MB / 0.5926 GB, free: 51.79 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.005976/0.8435, allocations: 4.979 MB / 0.5975 GB, free: 46.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005416/0.8489, allocations: 3.894 MB / 0.6013 GB, free: 42.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.8489, allocations: 4 kB / 0.6013 GB, free: 42.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.8502, allocations: 1.034 MB / 0.6023 GB, free: 41.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.8527, allocations: 406.1 kB / 0.6027 GB, free: 41.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04755/0.9002, allocations: 37.75 MB / 0.6395 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004334/0.9045, allocations: 2.784 MB / 0.6423 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004342/0.9089, allocations: 1.652 MB / 0.6439 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002941/0.9118, allocations: 1.522 MB / 0.6454 GB, free: 8.523 MB / 462.1 MB Notification: Performance of SimCode: time 1.653e-06/0.9118, allocations: 0 / 0.6454 GB, free: 8.523 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/1.049, allocations: 62.25 MB / 0.7062 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.88/25.93, allocations: 8 kB / 0.7062 GB, free: 10.59 MB / 0.5137 GB " [Timeout remaining time 634] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/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: 28.63430036000136]