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.001218/0.001218, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001309/0.001309, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.423/1.423, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.001918/0.001918, allocations: 67.89 kB / 373.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09359/0.09551, allocations: 53.31 MB / 426.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.195/0.2905, allocations: 19.44 MB / 446.1 MB, free: 56 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.3047, allocations: 6.015 MB / 452.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00424/0.309, allocations: 153.4 kB / 452.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01226/0.3212, allocations: 5.898 MB / 458.2 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.3314, allocations: 3.402 MB / 461.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.3353, allocations: 1.57 MB / 463.2 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01947/0.3548, allocations: 12.67 MB / 475.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/0.3657, allocations: 6.422 MB / 482.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008449/0.3741, allocations: 3.579 MB / 485.8 MB, free: 5.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008494/0.3826, allocations: 5.122 MB / 491 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002812/0.3854, allocations: 0.711 MB / 491.7 MB, free: 15.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005232/0.3907, allocations: 1.705 MB / 493.4 MB, free: 14.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006448/0.3971, allocations: 4.359 MB / 497.7 MB, free: 9.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009159/0.4063, allocations: 4.741 MB / 0.4907 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02153/0.4278, allocations: 14.35 MB / 0.5047 GB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.4278, allocations: 0 / 0.5047 GB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4278, allocations: 0 / 0.5047 GB, free: 6.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000543/0.4284, allocations: 0 / 0.5047 GB, free: 6.629 MB / 414.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.03061/0.459, allocations: 10.57 MB / 0.515 GB, free: 11.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.459, allocations: 8.031 kB / 0.515 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003064/0.4621, allocations: 1.144 MB / 0.5161 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2583/0.7204, allocations: 24.3 MB / 0.5399 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02241/0.7428, allocations: 9.173 MB / 0.5488 GB, free: 9.195 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000455/0.7433, allocations: 430.8 kB / 0.5492 GB, free: 8.777 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002091/0.7454, allocations: 0.5855 MB / 0.5498 GB, free: 8.191 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0318/0.7771, allocations: 16.17 MB / 0.5656 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003662/0.7775, allocations: 95.3 kB / 0.5657 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001415/0.7789, allocations: 268.3 kB / 0.566 GB, free: 6.609 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004645/0.7836, allocations: 2.768 MB / 0.5687 GB, free: 3.836 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02782/0.8114, allocations: 12.86 MB / 0.5812 GB, free: 6.969 MB / 494.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.4399/1.251, allocations: 66.21 MB / 0.6459 GB, free: 119 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01894/1.27, allocations: 7.359 MB / 0.6531 GB, free: 118.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004933/1.275, allocations: 3.923 MB / 0.6569 GB, free: 116.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01982/1.295, allocations: 11.7 MB / 0.6683 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/1.295, allocations: 64.31 kB / 0.6684 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=280): time 5.651e-06/1.295, allocations: 0 / 0.6684 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=339): time 0.1505/1.446, allocations: 47.75 MB / 0.715 GB, free: 77.36 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/1.446, allocations: 397.4 kB / 0.7154 GB, free: 76.89 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009554/1.455, allocations: 7.164 MB / 0.7224 GB, free: 69.85 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008182/1.456, allocations: 73.7 kB / 0.7225 GB, free: 69.77 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003595/1.46, allocations: 5.348 MB / 0.7277 GB, free: 64.99 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001679/1.461, allocations: 1.304 MB / 0.729 GB, free: 63.71 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003316/1.465, allocations: 1.651 MB / 0.7306 GB, free: 62.04 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.61e-05/1.465, allocations: 305.6 kB / 0.7309 GB, free: 61.74 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004921/1.47, allocations: 3.967 MB / 0.7347 GB, free: 57.77 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00689/1.476, allocations: 8.585 MB / 0.7431 GB, free: 46.96 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/1.489, allocations: 13.48 MB / 0.7563 GB, free: 31.29 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/1.489, allocations: 44 kB / 0.7563 GB, free: 31.24 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03229/1.521, allocations: 17.14 MB / 0.7731 GB, free: 14.04 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/1.521, allocations: 76.06 kB / 0.7731 GB, free: 13.97 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001942/1.522, allocations: 160 kB / 0.7733 GB, free: 13.81 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01562/1.537, allocations: 5.771 MB / 0.7789 GB, free: 8.027 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004869/1.542, allocations: 1.756 MB / 0.7806 GB, free: 6.27 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0447/1.587, allocations: 31.67 MB / 0.8116 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006796/1.594, allocations: 0.5228 MB / 0.8121 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001313/1.595, allocations: 468 kB / 0.8125 GB, free: 5.199 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.006927/1.602, allocations: 3.46 MB / 0.8159 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001674/1.603, allocations: 0.6907 MB / 0.8166 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02738/1.631, allocations: 11.4 MB / 0.8277 GB, free: 5.562 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-05/1.631, allocations: 39.94 kB / 0.8277 GB, free: 5.523 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-05/1.631, allocations: 20 kB / 0.8278 GB, free: 5.504 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.13e-05/1.631, allocations: 19.94 kB / 0.8278 GB, free: 5.484 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2434/1.874, allocations: 24.66 MB / 0.8519 GB, free: 183.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.225e-05/1.875, allocations: 6.375 kB / 0.8519 GB, free: 183.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001959/1.876, allocations: 422.1 kB / 0.8523 GB, free: 183 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01566/1.892, allocations: 5.369 MB / 0.8575 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006656/1.893, allocations: 60.12 kB / 0.8576 GB, free: 182 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03501/1.928, allocations: 30.36 MB / 0.8872 GB, free: 167.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.928, allocations: 9.781 kB / 0.8872 GB, free: 167.4 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02558/1.953, allocations: 16.45 MB / 0.9033 GB, free: 153.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/1.955, allocations: 0.712 MB / 0.904 GB, free: 152.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001581/1.957, allocations: 64 kB / 0.9041 GB, free: 152.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003726/1.961, allocations: 267.4 kB / 0.9043 GB, free: 152.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008477/1.962, allocations: 239.6 kB / 0.9045 GB, free: 152.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000247/1.962, allocations: 88.88 kB / 0.9046 GB, free: 152.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005935/1.968, allocations: 4.616 MB / 0.9091 GB, free: 147.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/1.968, allocations: 3.938 kB / 0.9091 GB, free: 147.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007251/1.975, allocations: 1.956 MB / 0.911 GB, free: 145.7 MB / 0.5607 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.02659/2.002, allocations: 17.15 MB / 0.9278 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01416/2.016, allocations: 10.09 MB / 0.9376 GB, free: 118.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/2.016, allocations: 4 kB / 0.9376 GB, free: 118.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006868/2.023, allocations: 4.372 MB / 0.9419 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007388/2.03, allocations: 1.091 MB / 0.943 GB, free: 113.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1279/2.158, allocations: 91.48 MB / 1.032 GB, free: 14.38 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2008/2.359, allocations: 5.518 MB / 1.038 GB, free: 182.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007632/2.366, allocations: 2.621 MB / 1.04 GB, free: 182.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006231/2.373, allocations: 3.738 MB / 1.044 GB, free: 182.5 MB / 0.5607 GB Notification: Performance of SimCode: time 2.174e-06/2.373, allocations: 0 / 1.044 GB, free: 182.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2165/2.589, allocations: 158.5 MB / 1.199 GB, free: 55.53 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.29/43.88, allocations: 3.375 kB / 1.199 GB, free: 55.53 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 48.72781634796411]