Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001985/0.001985, allocations: 110 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.001534/0.001534, allocations: 213.1 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.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.Loops.Engine1a,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 63.89 kB / 377.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2643, allocations: 53.4 MB / 431.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02298/0.2872, allocations: 19.47 MB / 450.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.3006, allocations: 6.044 MB / 456.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003636/0.3042, allocations: 190.9 kB / 456.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01168/0.3159, allocations: 5.926 MB / 462.8 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009906/0.3258, allocations: 3.412 MB / 466.2 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003956/0.3298, allocations: 1.56 MB / 467.8 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01861/0.3484, allocations: 12.72 MB / 480.5 MB, free: 5.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009094/0.3575, allocations: 5.939 MB / 486.5 MB, free: 15.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008054/0.3655, allocations: 3.626 MB / 490.1 MB, free: 11.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00953/0.375, allocations: 5.122 MB / 495.2 MB, free: 6.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002447/0.3775, allocations: 0.7187 MB / 495.9 MB, free: 5.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/0.382, allocations: 1.709 MB / 497.6 MB, free: 4.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00578/0.3878, allocations: 4.359 MB / 0.4902 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008287/0.3961, allocations: 4.737 MB / 0.4949 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01895/0.415, allocations: 14.36 MB / 0.5089 GB, free: 12.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.415, allocations: 0 / 0.5089 GB, free: 12.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.415, allocations: 0 / 0.5089 GB, free: 12.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004822/0.4155, allocations: 0 / 0.5089 GB, free: 12.46 MB / 430.1 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.03048/0.446, allocations: 10.49 MB / 0.5191 GB, free: 1.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.4461, allocations: 12.03 kB / 0.5191 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002892/0.4489, allocations: 1.14 MB / 0.5203 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6586/1.108, allocations: 24.3 MB / 0.544 GB, free: 93.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01923/1.127, allocations: 9.039 MB / 0.5528 GB, free: 89.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/1.127, allocations: 425.4 kB / 0.5532 GB, free: 89.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00187/1.129, allocations: 0.5855 MB / 0.5538 GB, free: 88.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02419/1.153, allocations: 16.17 MB / 0.5696 GB, free: 71.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002789/1.153, allocations: 95.31 kB / 0.5697 GB, free: 71.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008461/1.154, allocations: 275.3 kB / 0.5699 GB, free: 71.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003284/1.158, allocations: 2.77 MB / 0.5726 GB, free: 68.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02242/1.18, allocations: 12.85 MB / 0.5852 GB, free: 56.02 MB / 446.1 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.07222/1.252, allocations: 66.28 MB / 0.6499 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01931/1.271, allocations: 6.907 MB / 0.6567 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005985/1.277, allocations: 3.945 MB / 0.6605 GB, free: 9.102 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0214/1.299, allocations: 11.03 MB / 0.6713 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.558e-05/1.299, allocations: 64.55 kB / 0.6713 GB, free: 14.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=280): time 5.951e-06/1.299, allocations: 0 / 0.6713 GB, free: 14.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.1706/1.47, allocations: 47.59 MB / 0.7178 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002347/1.47, allocations: 394.1 kB / 0.7182 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01223/1.482, allocations: 7.167 MB / 0.7252 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008126/1.483, allocations: 77.7 kB / 0.7253 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004627/1.487, allocations: 5.343 MB / 0.7305 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002006/1.489, allocations: 1.298 MB / 0.7318 GB, free: 400 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002711/1.492, allocations: 1.659 MB / 0.7334 GB, free: 14.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.492, allocations: 305.1 kB / 0.7337 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006105/1.498, allocations: 3.971 MB / 0.7375 GB, free: 10.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2604/1.759, allocations: 8.575 MB / 0.7459 GB, free: 181.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0147/1.774, allocations: 13.49 MB / 0.7591 GB, free: 173.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/1.774, allocations: 47.16 kB / 0.7591 GB, free: 173.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03161/1.805, allocations: 17.13 MB / 0.7759 GB, free: 167.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/1.805, allocations: 82.62 kB / 0.7759 GB, free: 167.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001696/1.806, allocations: 159.5 kB / 0.7761 GB, free: 167.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01573/1.821, allocations: 5.758 MB / 0.7817 GB, free: 166.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005027/1.826, allocations: 1.76 MB / 0.7834 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03399/1.86, allocations: 31.36 MB / 0.8141 GB, free: 134.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006756/1.867, allocations: 0.5193 MB / 0.8146 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/1.868, allocations: 472 kB / 0.815 GB, free: 133.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * Number of states: 0 () * Number of discrete variables: 66 (cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[1],crank2.color[3],crank2.color[2],crank2.color[1],crank2.body.sphereColor[3],crank2.body.sphereColor[2],crank2.body.sphereColor[1],crank1.color[3],crank1.color[2],crank1.color[1],crank1.body.sphereColor[3],crank1.body.sphereColor[2],crank1.body.sphereColor[1],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.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]) * 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.004949/1.873, allocations: 3.466 MB / 0.8184 GB, free: 130.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/1.874, allocations: 0.686 MB / 0.8191 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02042/1.895, allocations: 11.4 MB / 0.8302 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.167e-05/1.895, allocations: 36 kB / 0.8302 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.842e-05/1.895, allocations: 16 kB / 0.8303 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.747e-05/1.895, allocations: 19.95 kB / 0.8303 GB, free: 118.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04012/1.935, allocations: 24.63 MB / 0.8543 GB, free: 93.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.672e-05/1.935, allocations: 12.12 kB / 0.8543 GB, free: 93.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/1.937, allocations: 421.5 kB / 0.8547 GB, free: 93.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01413/1.951, allocations: 5.372 MB / 0.86 GB, free: 87.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005438/1.952, allocations: 60 kB / 0.8601 GB, free: 87.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03259/1.984, allocations: 30.05 MB / 0.8894 GB, free: 57.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.984, allocations: 11.94 kB / 0.8894 GB, free: 57.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02632/2.011, allocations: 16.45 MB / 0.9055 GB, free: 40.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002112/2.013, allocations: 0.6397 MB / 0.9061 GB, free: 40.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/2.014, allocations: 63.98 kB / 0.9062 GB, free: 40.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003651/2.018, allocations: 263.6 kB / 0.9064 GB, free: 39.76 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001027/2.019, allocations: 250.5 kB / 0.9067 GB, free: 39.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/2.019, allocations: 88 kB / 0.9067 GB, free: 39.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006817/2.026, allocations: 4.62 MB / 0.9112 GB, free: 34.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/2.026, allocations: 0 / 0.9112 GB, free: 34.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008258/2.034, allocations: 1.959 MB / 0.9132 GB, free: 32.89 MB / 0.545 GB 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.0258/2.06, allocations: 17.14 MB / 0.9299 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01524/2.075, allocations: 10.11 MB / 0.9398 GB, free: 5.406 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/2.075, allocations: 0 / 0.9398 GB, free: 5.406 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00714/2.082, allocations: 4.372 MB / 0.944 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006027/2.088, allocations: 1.082 MB / 0.9451 GB, free: 15.91 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3622/2.451, allocations: 91.61 MB / 1.035 GB, free: 130 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009379/2.46, allocations: 5.518 MB / 1.04 GB, free: 124.4 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006063/2.466, allocations: 2.624 MB / 1.043 GB, free: 121.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004771/2.471, allocations: 3.737 MB / 1.046 GB, free: 118.1 MB / 0.5607 GB Notification: Performance of SimCode: time 1.142e-06/2.471, allocations: 4 kB / 1.046 GB, free: 118.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4612/2.932, allocations: 162.3 MB / 1.205 GB, free: 156 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.19/44.12, allocations: 6.219 kB / 1.205 GB, free: 156 MB / 0.5607 GB " [Timeout remaining time 616] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 46.87876366799901]