Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001185/0.001185, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001418/0.001418, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 47.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2753, allocations: 53.37 MB / 431.2 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02273/0.298, allocations: 19.47 MB / 450.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.3123, allocations: 6.04 MB / 456.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003789/0.3161, allocations: 186.9 kB / 456.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01203/0.3282, allocations: 5.93 MB / 462.8 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009345/0.3375, allocations: 3.405 MB / 466.2 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.3416, allocations: 1.572 MB / 467.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02077/0.3623, allocations: 12.71 MB / 480.5 MB, free: 5.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00974/0.3721, allocations: 5.939 MB / 486.4 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007199/0.3793, allocations: 3.63 MB / 490 MB, free: 11.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00888/0.3882, allocations: 5.122 MB / 495.2 MB, free: 6.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002731/0.3909, allocations: 0.7109 MB / 495.9 MB, free: 5.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005016/0.3959, allocations: 1.701 MB / 497.6 MB, free: 4.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006578/0.4025, allocations: 4.367 MB / 0.4902 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009219/0.4117, allocations: 4.737 MB / 0.4948 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01922/0.4309, allocations: 14.36 MB / 0.5088 GB, free: 12.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4309, allocations: 0 / 0.5088 GB, free: 12.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4309, allocations: 0 / 0.5088 GB, free: 12.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004398/0.4314, allocations: 4 kB / 0.5088 GB, free: 12.62 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.03129/0.4627, allocations: 10.49 MB / 0.5191 GB, free: 2.035 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.4627, allocations: 8.031 kB / 0.5191 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003981/0.4667, allocations: 1.14 MB / 0.5202 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6845/1.151, allocations: 24.3 MB / 0.5439 GB, free: 94.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01974/1.171, allocations: 9.039 MB / 0.5528 GB, free: 90.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/1.171, allocations: 425.9 kB / 0.5532 GB, free: 89.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002111/1.173, allocations: 0.5819 MB / 0.5537 GB, free: 89.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02746/1.201, allocations: 16.18 MB / 0.5695 GB, free: 72.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005033/1.201, allocations: 103.2 kB / 0.5696 GB, free: 72.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002367/1.204, allocations: 263.4 kB / 0.5699 GB, free: 72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003945/1.208, allocations: 2.768 MB / 0.5726 GB, free: 69.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02488/1.233, allocations: 12.85 MB / 0.5851 GB, free: 56.37 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.08603/1.319, allocations: 66.29 MB / 0.6499 GB, free: 4.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02063/1.339, allocations: 6.918 MB / 0.6566 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006472/1.346, allocations: 3.928 MB / 0.6605 GB, free: 9.441 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02396/1.37, allocations: 11.02 MB / 0.6712 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.794e-05/1.37, allocations: 68.5 kB / 0.6713 GB, free: 14.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=280): time 6.271e-06/1.37, allocations: 0 / 0.6713 GB, free: 14.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.1821/1.552, allocations: 47.59 MB / 0.7178 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002456/1.552, allocations: 406 kB / 0.7182 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01406/1.566, allocations: 7.163 MB / 0.7251 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008023/1.567, allocations: 81.69 kB / 0.7252 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005383/1.572, allocations: 5.351 MB / 0.7305 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002133/1.574, allocations: 1.298 MB / 0.7317 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003583/1.578, allocations: 1.655 MB / 0.7333 GB, free: 15.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.578, allocations: 305.1 kB / 0.7336 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007408/1.586, allocations: 3.959 MB / 0.7375 GB, free: 10.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2365/1.822, allocations: 8.587 MB / 0.7459 GB, free: 182 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/1.837, allocations: 13.48 MB / 0.759 GB, free: 173.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/1.837, allocations: 44.91 kB / 0.7591 GB, free: 173.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03224/1.869, allocations: 17.13 MB / 0.7758 GB, free: 168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.52e-05/1.869, allocations: 78.06 kB / 0.7759 GB, free: 168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/1.869, allocations: 160 kB / 0.776 GB, free: 168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01618/1.886, allocations: 5.768 MB / 0.7817 GB, free: 166.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005628/1.891, allocations: 1.751 MB / 0.7834 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03837/1.93, allocations: 31.36 MB / 0.814 GB, free: 134.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007035/1.937, allocations: 0.5218 MB / 0.8145 GB, free: 134.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/1.938, allocations: 476 kB / 0.815 GB, free: 133.9 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.006264/1.945, allocations: 3.454 MB / 0.8184 GB, free: 130.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/1.946, allocations: 0.6889 MB / 0.819 GB, free: 130.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02427/1.971, allocations: 11.41 MB / 0.8302 GB, free: 118.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.903e-05/1.971, allocations: 36 kB / 0.8302 GB, free: 118.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.298e-05/1.971, allocations: 24 kB / 0.8302 GB, free: 118.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.096e-05/1.971, allocations: 15.94 kB / 0.8302 GB, free: 118.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0448/2.016, allocations: 24.64 MB / 0.8543 GB, free: 93.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-05/2.016, allocations: 8 kB / 0.8543 GB, free: 93.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/2.018, allocations: 415.4 kB / 0.8547 GB, free: 93.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01536/2.033, allocations: 5.373 MB / 0.8599 GB, free: 87.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001073/2.034, allocations: 64 kB / 0.86 GB, free: 87.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03604/2.07, allocations: 30.05 MB / 0.8894 GB, free: 57.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/2.07, allocations: 8 kB / 0.8894 GB, free: 57.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02821/2.098, allocations: 16.45 MB / 0.9054 GB, free: 40.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/2.1, allocations: 0.6386 MB / 0.9061 GB, free: 40.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001789/2.102, allocations: 61.97 kB / 0.9061 GB, free: 40.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003895/2.106, allocations: 267.6 kB / 0.9064 GB, free: 40 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001161/2.107, allocations: 254.5 kB / 0.9066 GB, free: 39.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004589/2.107, allocations: 88 kB / 0.9067 GB, free: 39.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007545/2.115, allocations: 4.612 MB / 0.9112 GB, free: 35.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/2.115, allocations: 0 / 0.9112 GB, free: 35.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009736/2.125, allocations: 1.964 MB / 0.9131 GB, free: 33.13 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.02888/2.154, allocations: 17.15 MB / 0.9299 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01657/2.17, allocations: 10.1 MB / 0.9397 GB, free: 5.648 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/2.17, allocations: 0 / 0.9397 GB, free: 5.648 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008771/2.179, allocations: 4.374 MB / 0.944 GB, free: 1.227 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008025/2.187, allocations: 1.091 MB / 0.9451 GB, free: 152 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.386/2.573, allocations: 91.6 MB / 1.035 GB, free: 130.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006456/2.579, allocations: 5.524 MB / 1.04 GB, free: 124.8 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006096/2.585, allocations: 2.628 MB / 1.042 GB, free: 122.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005457/2.591, allocations: 3.741 MB / 1.046 GB, free: 118.5 MB / 0.5607 GB Notification: Performance of SimCode: time 2.845e-06/2.591, allocations: 3.938 kB / 1.046 GB, free: 118.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4532/3.044, allocations: 162.3 MB / 1.205 GB, free: 156.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.2/44.25, allocations: 10.06 kB / 1.205 GB, free: 156.2 MB / 0.5607 GB " [Timeout remaining time 616] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/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_4.1.0_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.49470995506272]