Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.001716/0.001716, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002433/0.002433, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.574/1.574, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.Engine1b,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.91 kB / 377.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2835, allocations: 53.41 MB / 431.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02139/0.3049, allocations: 17.63 MB / 448.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.319, allocations: 6.004 MB / 454.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004328/0.3234, allocations: 206.8 kB / 455 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01269/0.3361, allocations: 6.157 MB / 461.2 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009748/0.3458, allocations: 3.521 MB / 464.7 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.3497, allocations: 1.669 MB / 466.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01685/0.3666, allocations: 12.99 MB / 479.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008301/0.3749, allocations: 6.267 MB / 485.6 MB, free: 15.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006937/0.3818, allocations: 3.805 MB / 489.4 MB, free: 11.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00862/0.3904, allocations: 5.051 MB / 494.5 MB, free: 6.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002908/0.3934, allocations: 0.7461 MB / 495.2 MB, free: 6.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005148/0.3985, allocations: 1.6 MB / 496.8 MB, free: 4.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007323/0.4058, allocations: 4.535 MB / 0.4896 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008222/0.4141, allocations: 3.831 MB / 0.4933 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02092/0.435, allocations: 14.95 MB / 0.5079 GB, free: 13.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.435, allocations: 0 / 0.5079 GB, free: 13.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.435, allocations: 0 / 0.5079 GB, free: 13.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004528/0.4354, allocations: 0 / 0.5079 GB, free: 13.14 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.03119/0.4666, allocations: 10.86 MB / 0.5185 GB, free: 2.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4667, allocations: 15.98 kB / 0.5186 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002567/0.4692, allocations: 1.193 MB / 0.5197 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6833/1.153, allocations: 24.33 MB / 0.5435 GB, free: 95.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01842/1.171, allocations: 9.238 MB / 0.5525 GB, free: 89.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/1.171, allocations: 453.5 kB / 0.5529 GB, free: 88.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/1.173, allocations: 0.6072 MB / 0.5535 GB, free: 88.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/1.197, allocations: 17.05 MB / 0.5702 GB, free: 70.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002654/1.197, allocations: 95.36 kB / 0.5703 GB, free: 69.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008139/1.198, allocations: 280 kB / 0.5705 GB, free: 69.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003357/1.201, allocations: 2.859 MB / 0.5733 GB, free: 66.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02244/1.224, allocations: 13.24 MB / 0.5863 GB, free: 53.69 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.07223/1.296, allocations: 63.15 MB / 0.6479 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02101/1.317, allocations: 7.185 MB / 0.655 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006288/1.323, allocations: 4.055 MB / 0.6589 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02205/1.345, allocations: 10.47 MB / 0.6691 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.098e-05/1.345, allocations: 72.48 kB / 0.6692 GB, free: 15.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=293): time 6.342e-06/1.345, allocations: 0 / 0.6692 GB, free: 15.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.1965/1.542, allocations: 50.22 MB / 0.7182 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002733/1.542, allocations: 411.6 kB / 0.7186 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01366/1.556, allocations: 7.583 MB / 0.726 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008431/1.557, allocations: 85.69 kB / 0.7261 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.006057/1.563, allocations: 5.519 MB / 0.7315 GB, free: 24 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002339/1.565, allocations: 1.376 MB / 0.7329 GB, free: 14.63 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003576/1.569, allocations: 1.707 MB / 0.7345 GB, free: 12.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.569, allocations: 301.1 kB / 0.7348 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007238/1.576, allocations: 4.12 MB / 0.7388 GB, free: 8.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2345/1.81, allocations: 9.085 MB / 0.7477 GB, free: 181.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01428/1.825, allocations: 13.95 MB / 0.7613 GB, free: 172.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002027/1.825, allocations: 48.94 kB / 0.7614 GB, free: 172.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.03321/1.858, allocations: 17.82 MB / 0.7788 GB, free: 167 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/1.858, allocations: 78.5 kB / 0.7789 GB, free: 167 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002329/1.859, allocations: 164.2 kB / 0.779 GB, free: 167 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01751/1.876, allocations: 6.037 MB / 0.7849 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005342/1.881, allocations: 1.823 MB / 0.7867 GB, free: 162.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03673/1.918, allocations: 32.29 MB / 0.8182 GB, free: 130.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007664/1.926, allocations: 0.5399 MB / 0.8188 GB, free: 130.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001561/1.927, allocations: 480 kB / 0.8192 GB, free: 129.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 743 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],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 (967): * Single equations (assignments): 961 * 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,97,55.1%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.005275/1.933, allocations: 3.587 MB / 0.8227 GB, free: 126.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.934, allocations: 0.7076 MB / 0.8234 GB, free: 125.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02226/1.956, allocations: 12.02 MB / 0.8351 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.052e-05/1.956, allocations: 43.83 kB / 0.8352 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.19e-05/1.956, allocations: 16.25 kB / 0.8352 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.46e-05/1.956, allocations: 19.94 kB / 0.8352 GB, free: 113.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04479/2.001, allocations: 24.76 MB / 0.8594 GB, free: 88.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.663e-05/2.001, allocations: 4 kB / 0.8594 GB, free: 88.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/2.003, allocations: 467.3 kB / 0.8599 GB, free: 88.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01653/2.02, allocations: 5.694 MB / 0.8654 GB, free: 82.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008414/2.021, allocations: 67.59 kB / 0.8655 GB, free: 82.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03594/2.057, allocations: 31.09 MB / 0.8958 GB, free: 51.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/2.057, allocations: 12 kB / 0.8959 GB, free: 51.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02937/2.086, allocations: 17.36 MB / 0.9128 GB, free: 33.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/2.088, allocations: 0.6591 MB / 0.9135 GB, free: 33.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/2.09, allocations: 67.98 kB / 0.9135 GB, free: 32.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003606/2.093, allocations: 275.7 kB / 0.9138 GB, free: 32.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000898/2.094, allocations: 274.6 kB / 0.914 GB, free: 32.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002732/2.094, allocations: 88 kB / 0.9141 GB, free: 32.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006361/2.101, allocations: 4.706 MB / 0.9187 GB, free: 27.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/2.101, allocations: 0 / 0.9187 GB, free: 27.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008421/2.109, allocations: 2.04 MB / 0.9207 GB, free: 25.67 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (231): * Single equations (assignments): 225 * 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,90,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.02921/2.138, allocations: 18.07 MB / 0.9384 GB, free: 7.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01887/2.157, allocations: 10.5 MB / 0.9486 GB, free: 12.89 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.648e-05/2.157, allocations: 9.641 kB / 0.9486 GB, free: 12.88 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.242/2.399, allocations: 4.599 MB / 0.9531 GB, free: 199.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00829/2.407, allocations: 1.112 MB / 0.9542 GB, free: 199.1 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1651/2.572, allocations: 95.08 MB / 1.047 GB, free: 116 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009466/2.582, allocations: 5.254 MB / 1.052 GB, free: 110.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007344/2.589, allocations: 2.721 MB / 1.055 GB, free: 108.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007175/2.596, allocations: 3.877 MB / 1.059 GB, free: 104.2 MB / 0.5607 GB Notification: Performance of SimCode: time 4.208e-06/2.596, allocations: 0 / 1.059 GB, free: 104.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5224/3.119, allocations: 169.2 MB / 1.224 GB, free: 142.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.69/28.81, allocations: 0.75 kB / 1.224 GB, free: 142.8 MB / 0.5607 GB " [Timeout remaining time 631] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_fmu --startTime=0 --stopTime=0.5 --stepSize=9.94431e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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: 33.49734274670482]