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.001492/0.001492, 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.001623/0.001623, allocations: 210.7 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.393/1.393, allocations: 230.5 MB / 257.4 MB, free: 8 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.001992/0.001992, allocations: 59.89 kB / 377.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2586, allocations: 53.4 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02406/0.2827, allocations: 20.54 MB / 451.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01446/0.2972, allocations: 6.262 MB / 458 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003401/0.3006, allocations: 202.9 kB / 458.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.3129, allocations: 6.429 MB / 464.6 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009119/0.322, allocations: 3.513 MB / 468.2 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003926/0.3259, allocations: 1.658 MB / 469.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01834/0.3443, allocations: 13 MB / 482.8 MB, free: 2.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/0.3558, allocations: 6.294 MB / 489.1 MB, free: 12.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007857/0.3637, allocations: 3.801 MB / 492.9 MB, free: 8.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009278/0.373, allocations: 5.352 MB / 498.3 MB, free: 3.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002632/0.3756, allocations: 0.7499 MB / 499 MB, free: 2.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004691/0.3803, allocations: 1.744 MB / 0.489 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006489/0.3868, allocations: 4.543 MB / 0.4934 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009792/0.3966, allocations: 4.939 MB / 0.4983 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02116/0.4177, allocations: 14.86 MB / 0.5128 GB, free: 8.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4177, allocations: 0 / 0.5128 GB, free: 8.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4177, allocations: 0 / 0.5128 GB, free: 8.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004742/0.4182, allocations: 0 / 0.5128 GB, free: 8.43 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.03268/0.4509, allocations: 10.86 MB / 0.5234 GB, free: 13.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4509, allocations: 8.031 kB / 0.5234 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003527/0.4545, allocations: 1.197 MB / 0.5246 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6106/1.065, allocations: 24.33 MB / 0.5483 GB, free: 92.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01698/1.082, allocations: 9.225 MB / 0.5573 GB, free: 84.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/1.082, allocations: 445.9 kB / 0.5578 GB, free: 84.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001569/1.084, allocations: 0.6188 MB / 0.5584 GB, free: 83.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02285/1.107, allocations: 16.74 MB / 0.5747 GB, free: 66.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002982/1.107, allocations: 95.34 kB / 0.5748 GB, free: 66.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008535/1.108, allocations: 278.2 kB / 0.5751 GB, free: 65.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003392/1.111, allocations: 2.859 MB / 0.5779 GB, free: 62.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02278/1.134, allocations: 13.27 MB / 0.5908 GB, free: 49.71 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.07065/1.205, allocations: 68.18 MB / 0.6574 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02089/1.226, allocations: 7.193 MB / 0.6644 GB, free: 4.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006485/1.232, allocations: 4.051 MB / 0.6684 GB, free: 472 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0255/1.258, allocations: 11.38 MB / 0.6795 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.659e-05/1.258, allocations: 68.5 kB / 0.6796 GB, free: 5.117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=293): time 5.651e-06/1.258, allocations: 0 / 0.6796 GB, free: 5.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.188/1.446, allocations: 50.03 MB / 0.7284 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002761/1.446, allocations: 402.2 kB / 0.7288 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01465/1.461, allocations: 7.316 MB / 0.736 GB, free: 11.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001073/1.462, allocations: 81.7 kB / 0.736 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00571/1.467, allocations: 5.531 MB / 0.7414 GB, free: 5.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002064/1.469, allocations: 1.368 MB / 0.7428 GB, free: 4.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002975/1.472, allocations: 1.703 MB / 0.7444 GB, free: 2.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.473, allocations: 301.1 kB / 0.7447 GB, free: 2.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2192/1.692, allocations: 4.122 MB / 0.7487 GB, free: 186.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009044/1.701, allocations: 8.864 MB / 0.7574 GB, free: 179.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/1.715, allocations: 13.95 MB / 0.771 GB, free: 169.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002201/1.716, allocations: 45.28 kB / 0.7711 GB, free: 169.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.0348/1.75, allocations: 17.83 MB / 0.7885 GB, free: 163.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/1.75, allocations: 72.69 kB / 0.7885 GB, free: 163.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/1.751, allocations: 168.7 kB / 0.7887 GB, free: 163.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01643/1.767, allocations: 6.047 MB / 0.7946 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005569/1.773, allocations: 1.825 MB / 0.7964 GB, free: 157.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03518/1.808, allocations: 32.59 MB / 0.8282 GB, free: 124.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007679/1.816, allocations: 0.5438 MB / 0.8288 GB, free: 124.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/1.817, allocations: 488 kB / 0.8292 GB, free: 123.9 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.005888/1.823, allocations: 3.581 MB / 0.8327 GB, free: 120.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/1.825, allocations: 0.7088 MB / 0.8334 GB, free: 120.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02225/1.847, allocations: 12.01 MB / 0.8451 GB, free: 108.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.837e-05/1.847, allocations: 36 kB / 0.8452 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-05/1.847, allocations: 20 kB / 0.8452 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.145e-05/1.847, allocations: 15.94 kB / 0.8452 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04382/1.891, allocations: 25.75 MB / 0.8704 GB, free: 81.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.354e-05/1.891, allocations: 8 kB / 0.8704 GB, free: 81.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/1.893, allocations: 464 kB / 0.8708 GB, free: 81.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0151/1.908, allocations: 5.703 MB / 0.8764 GB, free: 75.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007309/1.909, allocations: 67.52 kB / 0.8764 GB, free: 75.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03385/1.943, allocations: 31.4 MB / 0.9071 GB, free: 44.19 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.943, allocations: 4 kB / 0.9071 GB, free: 44.19 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02727/1.97, allocations: 17.37 MB / 0.9241 GB, free: 26.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/1.972, allocations: 0.6599 MB / 0.9247 GB, free: 26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001717/1.973, allocations: 67.98 kB / 0.9248 GB, free: 25.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003652/1.977, allocations: 271.6 kB / 0.925 GB, free: 25.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009669/1.978, allocations: 274.6 kB / 0.9253 GB, free: 25.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003356/1.978, allocations: 88 kB / 0.9254 GB, free: 25.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006713/1.985, allocations: 4.706 MB / 0.93 GB, free: 20.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.985, allocations: 0 / 0.93 GB, free: 20.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008215/1.993, allocations: 2.041 MB / 0.932 GB, free: 18.62 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.255/2.248, allocations: 18.07 MB / 0.9496 GB, free: 170.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01814/2.266, allocations: 10.51 MB / 0.9599 GB, free: 169.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/2.266, allocations: 0 / 0.9599 GB, free: 169.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007607/2.274, allocations: 4.611 MB / 0.9644 GB, free: 167.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006881/2.281, allocations: 1.109 MB / 0.9655 GB, free: 167.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.145/2.426, allocations: 95.1 MB / 1.058 GB, free: 84.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006081/2.432, allocations: 5.728 MB / 1.064 GB, free: 79.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00564/2.438, allocations: 2.717 MB / 1.067 GB, free: 76.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004395/2.442, allocations: 3.873 MB / 1.07 GB, free: 72.45 MB / 0.545 GB Notification: Performance of SimCode: time 1.312e-06/2.442, allocations: 0 / 1.07 GB, free: 72.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4566/2.899, allocations: 169.5 MB / 1.236 GB, free: 130.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.34/44.24, allocations: 7.438 kB / 1.236 GB, free: 130.8 MB / 0.5607 GB " [Timeout remaining time 616] (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: 48.443698338000104]