Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.0008969/0.0008969, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004251/0.004251, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8163/0.8163, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Loops.Engine1a,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.914e-05, allocations: 2.281 kB / 298.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.1353/0.1353, allocations: 16.85 MB / 315.3 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009922/0.1452, allocations: 5.803 MB / 321.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003557/0.1488, allocations: 192.5 kB / 321.3 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00692/0.1557, allocations: 6.008 MB / 327.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0083/0.164, allocations: 3.582 MB / 330.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.1672, allocations: 1.802 MB / 332.7 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01237/0.1796, allocations: 13.26 MB / 345.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009381/0.189, allocations: 7.503 MB / 353.4 MB, free: 7.531 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01069/0.1996, allocations: 5.582 MB / 359 MB, free: 1.938 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007244/0.2069, allocations: 5.655 MB / 364.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002365/0.2093, allocations: 0.7461 MB / 365.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003773/0.213, allocations: 1.666 MB / 367.1 MB, free: 9.855 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00531/0.2183, allocations: 4.664 MB / 371.8 MB, free: 5.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005529/0.2239, allocations: 3.093 MB / 374.9 MB, free: 2.078 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.2379, allocations: 14.85 MB / 389.7 MB, free: 3.184 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.2379, allocations: 0 / 389.7 MB, free: 3.184 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2379, allocations: 0 / 389.7 MB, free: 3.184 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005329/0.2384, allocations: 0 / 389.7 MB, free: 3.184 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.02355/0.262, allocations: 10.91 MB / 400.6 MB, free: 8.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.262, allocations: 11.98 kB / 400.6 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002525/0.2646, allocations: 1.144 MB / 401.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1349/0.3995, allocations: 25.51 MB / 427.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/0.4145, allocations: 9.11 MB / 436.4 MB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/0.4148, allocations: 427.4 kB / 436.8 MB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.4166, allocations: 0.582 MB / 437.4 MB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.025/0.4416, allocations: 16.45 MB / 453.8 MB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002794/0.4419, allocations: 99.28 kB / 453.9 MB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001484/0.4434, allocations: 271.8 kB / 454.2 MB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00297/0.4463, allocations: 2.756 MB / 457 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/0.4656, allocations: 12.85 MB / 469.8 MB, free: 1.691 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2851/0.7507, allocations: 63.16 MB / 0.5205 GB, free: 86.34 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.7616, allocations: 7.151 MB / 0.5275 GB, free: 81.77 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003223/0.7648, allocations: 3.934 MB / 0.5313 GB, free: 77.84 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/0.7774, allocations: 10.82 MB / 0.5419 GB, free: 67.19 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.7775, allocations: 68.5 kB / 0.5419 GB, free: 67.11 MB / 426.8 MB Notification: Performance of pre-optimization done (n=280): time 6.742e-06/0.7775, allocations: 0 / 0.5419 GB, free: 67.11 MB / 426.8 MB Notification: Performance of matching and sorting (n=339): time 0.08974/0.8672, allocations: 48.86 MB / 0.5897 GB, free: 18.85 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.8673, allocations: 398.1 kB / 0.59 GB, free: 18.38 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007674/0.875, allocations: 8.82 MB / 0.5986 GB, free: 9.77 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006896/0.8756, allocations: 77.7 kB / 0.5987 GB, free: 9.688 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001784/0.8774, allocations: 5.326 MB / 0.6039 GB, free: 4.688 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001111/0.8785, allocations: 1.289 MB / 0.6052 GB, free: 3.414 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/0.8799, allocations: 1.636 MB / 0.6068 GB, free: 1.77 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 2.936e-05/0.88, allocations: 301.1 kB / 0.6071 GB, free: 1.473 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003666/0.8836, allocations: 3.958 MB / 0.6109 GB, free: 13.51 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005991/0.8896, allocations: 8.813 MB / 0.6195 GB, free: 2.352 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/0.9013, allocations: 13.48 MB / 0.6327 GB, free: 2.598 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/0.9014, allocations: 44 kB / 0.6327 GB, free: 2.555 MB / 458.8 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.1556/1.057, allocations: 17.12 MB / 0.6495 GB, free: 147.3 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.057, allocations: 73.19 kB / 0.6495 GB, free: 147.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001563/1.057, allocations: 159.8 kB / 0.6497 GB, free: 147.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/1.068, allocations: 5.764 MB / 0.6553 GB, free: 146.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/1.071, allocations: 1.752 MB / 0.657 GB, free: 146.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02477/1.096, allocations: 31.1 MB / 0.6874 GB, free: 123.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005684/1.102, allocations: 0.6688 MB / 0.6881 GB, free: 122.6 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/1.103, allocations: 468 kB / 0.6885 GB, free: 122.1 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * Number of states: 0 () * Number of discrete variables: 66 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (934): * Single equations (assignments): 928 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,51.6%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.004293/1.107, allocations: 3.468 MB / 0.6919 GB, free: 118.8 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/1.108, allocations: 0.6979 MB / 0.6926 GB, free: 118.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/1.121, allocations: 11.41 MB / 0.7037 GB, free: 107 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.688e-05/1.121, allocations: 32 kB / 0.7037 GB, free: 106.9 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/1.121, allocations: 21.94 kB / 0.7038 GB, free: 106.9 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-05/1.121, allocations: 19.88 kB / 0.7038 GB, free: 106.9 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02777/1.149, allocations: 23.94 MB / 0.7272 GB, free: 82.68 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-05/1.149, allocations: 8 kB / 0.7272 GB, free: 82.67 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.15, allocations: 411.4 kB / 0.7276 GB, free: 82.27 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008592/1.159, allocations: 5.388 MB / 0.7328 GB, free: 76.87 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004551/1.159, allocations: 60 kB / 0.7329 GB, free: 76.81 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02334/1.183, allocations: 29.81 MB / 0.762 GB, free: 46.88 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.183, allocations: 8 kB / 0.762 GB, free: 46.87 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01983/1.202, allocations: 16.42 MB / 0.778 GB, free: 30.28 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003641/1.206, allocations: 1.446 MB / 0.7794 GB, free: 28.84 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001532/1.208, allocations: 60 kB / 0.7795 GB, free: 28.78 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00372/1.211, allocations: 399.4 kB / 0.7799 GB, free: 28.39 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008587/1.212, allocations: 258.4 kB / 0.7801 GB, free: 28.13 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/1.212, allocations: 95.98 kB / 0.7802 GB, free: 28.04 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006657/1.219, allocations: 5.68 MB / 0.7858 GB, free: 22.39 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.8e-07/1.219, allocations: 0 / 0.7858 GB, free: 22.39 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.007323/1.226, allocations: 2.306 MB / 0.788 GB, free: 20.1 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (Inertia.phi,Inertia.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 (214): * Single equations (assignments): 208 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1565/1.383, allocations: 17.13 MB / 0.8048 GB, free: 143.9 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01481/1.398, allocations: 10.08 MB / 0.8146 GB, free: 141.3 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.398, allocations: 1.531 kB / 0.8146 GB, free: 141.3 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006053/1.404, allocations: 4.373 MB / 0.8189 GB, free: 139.5 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006537/1.41, allocations: 1.084 MB / 0.8199 GB, free: 139 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1204/1.531, allocations: 96.72 MB / 0.9144 GB, free: 51.26 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005839/1.537, allocations: 5.089 MB / 0.9194 GB, free: 46.13 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004584/1.541, allocations: 2.673 MB / 0.922 GB, free: 43.45 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003763/1.545, allocations: 3.757 MB / 0.9256 GB, free: 39.7 MB / 458.8 MB Notification: Performance of SimCode: time 1.222e-06/1.545, allocations: 0 / 0.9256 GB, free: 39.7 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2985/1.843, allocations: 169.1 MB / 1.091 GB, free: 55 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.04/18.88, allocations: 3.938 kB / 1.091 GB, free: 54.99 MB / 474.8 MB " [Timeout remaining time 641] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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: 20.65455827396363]