Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.001682/0.001682, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001831/0.001831, allocations: 213.4 kB / 23.74 MB, free: 4.688 MB / 14.72 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 1.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 55.92 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3277, allocations: 53.36 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01315/0.3409, allocations: 10.27 MB / 441.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008724/0.3496, allocations: 3.834 MB / 445.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.3511, allocations: 67.69 kB / 445.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003926/0.3551, allocations: 1.989 MB / 447.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004543/0.3596, allocations: 1.669 MB / 449 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.3612, allocations: 0.6121 MB / 449.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005223/0.3664, allocations: 3.356 MB / 452.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003282/0.3697, allocations: 2.118 MB / 455.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.3724, allocations: 1.261 MB / 456.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.3757, allocations: 1.81 MB / 458.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006428/0.3763, allocations: 259.9 kB / 458.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.3786, allocations: 1.053 MB / 459.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.3804, allocations: 1.597 MB / 461 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00228/0.3827, allocations: 1.813 MB / 462.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008132/0.3908, allocations: 5.812 MB / 468.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3908, allocations: 0 / 468.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3908, allocations: 4 kB / 468.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001976/0.391, allocations: 0 / 468.7 MB, free: 1.156 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.009463/0.4005, allocations: 4.042 MB / 472.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.4005, allocations: 8.031 kB / 472.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000928/0.4014, allocations: 0.6082 MB / 473.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00625/0.4077, allocations: 1.804 MB / 475.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005681/0.4134, allocations: 2.102 MB / 477.2 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.4136, allocations: 188.8 kB / 477.4 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006266/0.4142, allocations: 251.9 kB / 477.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/0.429, allocations: 8.443 MB / 486.1 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.4291, allocations: 43.62 kB / 486.2 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003579/0.4295, allocations: 131.8 kB / 486.3 MB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002886/0.4323, allocations: 1.699 MB / 488 MB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.4468, allocations: 7.106 MB / 495.1 MB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04715/0.4939, allocations: 33.97 MB / 0.5167 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007389/0.5013, allocations: 2.727 MB / 0.5193 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/0.5034, allocations: 1.365 MB / 0.5207 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007345/0.5108, allocations: 3.68 MB / 0.5242 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/0.5108, allocations: 47.2 kB / 0.5243 GB, free: 11.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 4.709e-06/0.5108, allocations: 0 / 0.5243 GB, free: 11.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.2613/0.7722, allocations: 11.52 MB / 0.5355 GB, free: 101.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.7722, allocations: 141.7 kB / 0.5357 GB, free: 101.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005364/0.7776, allocations: 3.726 MB / 0.5393 GB, free: 100.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002785/0.7779, allocations: 44.81 kB / 0.5394 GB, free: 100.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.7793, allocations: 2.86 MB / 0.5422 GB, free: 99.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005022/0.7798, allocations: 0.5392 MB / 0.5427 GB, free: 98.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.7811, allocations: 1.084 MB / 0.5437 GB, free: 98.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.569e-05/0.7812, allocations: 304.5 kB / 0.544 GB, free: 97.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/0.7833, allocations: 1.697 MB / 0.5457 GB, free: 97.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003506/0.7868, allocations: 5.129 MB / 0.5507 GB, free: 92.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00582/0.7927, allocations: 7.412 MB / 0.5579 GB, free: 85.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.865e-05/0.7927, allocations: 35.38 kB / 0.558 GB, free: 85.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.008686/0.8014, allocations: 6.72 MB / 0.5645 GB, free: 81.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/0.8015, allocations: 59.94 kB / 0.5646 GB, free: 81.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.74e-05/0.8015, allocations: 124 kB / 0.5647 GB, free: 80.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005094/0.8021, allocations: 324.3 kB / 0.565 GB, free: 80.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/0.805, allocations: 1.239 MB / 0.5662 GB, free: 79.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.807, allocations: 2.384 MB / 0.5686 GB, free: 76.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/0.8107, allocations: 289.6 kB / 0.5688 GB, free: 76.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000371/0.811, allocations: 332 kB / 0.5691 GB, free: 76.33 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.002256/0.8133, allocations: 1.791 MB / 0.5709 GB, free: 74.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/0.8138, allocations: 325.8 kB / 0.5712 GB, free: 74.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/0.8175, allocations: 2.363 MB / 0.5735 GB, free: 71.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.8175, allocations: 19.44 kB / 0.5735 GB, free: 71.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.8175, allocations: 4 kB / 0.5735 GB, free: 71.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.8176, allocations: 3.984 kB / 0.5735 GB, free: 71.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009764/0.8273, allocations: 5.888 MB / 0.5793 GB, free: 65.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.8273, allocations: 7.938 kB / 0.5793 GB, free: 65.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007477/0.8281, allocations: 175.8 kB / 0.5795 GB, free: 65.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/0.8299, allocations: 0.7146 MB / 0.5802 GB, free: 65.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-05/0.83, allocations: 23.98 kB / 0.5802 GB, free: 65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004532/0.8345, allocations: 4.71 MB / 0.5848 GB, free: 60.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8345, allocations: 6.375 kB / 0.5848 GB, free: 60.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/0.84, allocations: 4.342 MB / 0.589 GB, free: 55.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009252/0.841, allocations: 301.7 kB / 0.5893 GB, free: 55.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.8413, allocations: 20 kB / 0.5893 GB, free: 55.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009884/0.8423, allocations: 75.91 kB / 0.5894 GB, free: 55.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.8424, allocations: 72.45 kB / 0.5895 GB, free: 55.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/0.8425, allocations: 39.94 kB / 0.5895 GB, free: 55.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002767/0.8453, allocations: 2.319 MB / 0.5918 GB, free: 53.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8453, allocations: 0 / 0.5918 GB, free: 53.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003765/0.8491, allocations: 0.8003 MB / 0.5926 GB, free: 52.21 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.005492/0.8546, allocations: 4.983 MB / 0.5974 GB, free: 47.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005144/0.8597, allocations: 3.891 MB / 0.6012 GB, free: 43.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8597, allocations: 0.6875 kB / 0.6012 GB, free: 43.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.8608, allocations: 1.039 MB / 0.6022 GB, free: 42.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.863, allocations: 394.6 kB / 0.6026 GB, free: 41.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04436/0.9073, allocations: 37.76 MB / 0.6395 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003653/0.911, allocations: 2.788 MB / 0.6422 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004028/0.915, allocations: 1.652 MB / 0.6438 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002405/0.9174, allocations: 1.522 MB / 0.6453 GB, free: 8.93 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.9174, allocations: 0 / 0.6453 GB, free: 8.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1562/1.074, allocations: 62.26 MB / 0.7061 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.56/25.64, allocations: 6.719 kB / 0.7061 GB, free: 11.09 MB / 0.5137 GB " [Timeout remaining time 634] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 28.38257723100105]