Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000879/0.000879, allocations: 92.86 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000938/0.000938, allocations: 173.2 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.000448, allocations: 12 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07263/0.07308, allocations: 47.58 MB / 329.1 MB, free: 3.676 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.2165/0.2897, allocations: 101 MB / 430.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03676/0.3264, allocations: 19.88 MB / 450 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01502/0.3415, allocations: 470.8 kB / 450.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.3437, allocations: 0.7072 MB / 451.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006631/0.3503, allocations: 3.2 MB / 454.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.3526, allocations: 1.459 MB / 455.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01451/0.3672, allocations: 15.88 MB / 471.7 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01147/0.3786, allocations: 10.32 MB / 482 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.3825, allocations: 2.728 MB / 484.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005567/0.3881, allocations: 4.458 MB / 489.2 MB, free: 6.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007364/0.3888, allocations: 276 kB / 489.5 MB, free: 5.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.3911, allocations: 1.303 MB / 490.8 MB, free: 4.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002666/0.3938, allocations: 3.724 MB / 494.5 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003142/0.3969, allocations: 4.125 MB / 498.6 MB, free: 12.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.4071, allocations: 13.47 MB / 0.5001 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4071, allocations: 0 / 0.5001 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4071, allocations: 0 / 0.5001 GB, free: 15.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002808/0.4074, allocations: 0 / 0.5001 GB, free: 15.06 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.01873/0.4262, allocations: 8.644 MB / 0.5085 GB, free: 6.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.4262, allocations: 16.03 kB / 0.5085 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001621/0.4278, allocations: 1.148 MB / 0.5097 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5158/0.9436, allocations: 24.79 MB / 0.5339 GB, free: 148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01735/0.961, allocations: 10.53 MB / 0.5441 GB, free: 145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.9613, allocations: 425.8 kB / 0.5446 GB, free: 144.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009519/0.9622, allocations: 0.5806 MB / 0.5451 GB, free: 144.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01884/0.9811, allocations: 16.25 MB / 0.561 GB, free: 132.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/0.9813, allocations: 95.17 kB / 0.5611 GB, free: 132.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005371/0.9818, allocations: 271.1 kB / 0.5613 GB, free: 132.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003186/0.985, allocations: 2.77 MB / 0.564 GB, free: 129.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01928/1.004, allocations: 12.92 MB / 0.5767 GB, free: 116.5 MB / 430.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.05281/1.057, allocations: 66.47 MB / 0.6416 GB, free: 48.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01528/1.072, allocations: 7.628 MB / 0.649 GB, free: 40.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003335/1.076, allocations: 4.205 MB / 0.6531 GB, free: 36.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/1.087, allocations: 11.72 MB / 0.6646 GB, free: 24.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/1.087, allocations: 68.56 kB / 0.6646 GB, free: 24.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=280): time 3.807e-06/1.087, allocations: 0 / 0.6646 GB, free: 24.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=339): time 0.2658/1.353, allocations: 47.03 MB / 0.7106 GB, free: 131.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/1.353, allocations: 392.6 kB / 0.7109 GB, free: 131.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006576/1.359, allocations: 7.257 MB / 0.718 GB, free: 128.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002752/1.36, allocations: 80.69 kB / 0.7181 GB, free: 128.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001991/1.362, allocations: 5.18 MB / 0.7232 GB, free: 124.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007341/1.362, allocations: 1.249 MB / 0.7244 GB, free: 123.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000655/1.363, allocations: 0.7049 MB / 0.7251 GB, free: 123.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.087e-05/1.363, allocations: 305.1 kB / 0.7254 GB, free: 123.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003771/1.367, allocations: 3.952 MB / 0.7292 GB, free: 121.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004844/1.372, allocations: 8.582 MB / 0.7376 GB, free: 111.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009368/1.381, allocations: 13.48 MB / 0.7508 GB, free: 95.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.223e-05/1.381, allocations: 44 kB / 0.7508 GB, free: 95.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.02459/1.406, allocations: 17.18 MB / 0.7676 GB, free: 78.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/1.406, allocations: 72.56 kB / 0.7677 GB, free: 78.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.739e-05/1.406, allocations: 160 kB / 0.7678 GB, free: 78.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0141/1.42, allocations: 5.779 MB / 0.7735 GB, free: 72.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003932/1.424, allocations: 1.758 MB / 0.7752 GB, free: 70.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04541/1.469, allocations: 29.74 MB / 0.8042 GB, free: 40.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006182/1.476, allocations: 0.5312 MB / 0.8047 GB, free: 39.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005304/1.476, allocations: 472.8 kB / 0.8052 GB, free: 39.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * Number of states: 0 () * Number of discrete variables: 66 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[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.004029/1.48, allocations: 3.469 MB / 0.8086 GB, free: 36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.481, allocations: 0.6556 MB / 0.8092 GB, free: 35.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02024/1.502, allocations: 11.48 MB / 0.8204 GB, free: 23.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/1.502, allocations: 36 kB / 0.8204 GB, free: 23.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.055e-05/1.502, allocations: 17.62 kB / 0.8205 GB, free: 23.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.58e-05/1.502, allocations: 21.89 kB / 0.8205 GB, free: 23.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03367/1.536, allocations: 24.91 MB / 0.8448 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/1.536, allocations: 8 kB / 0.8448 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/1.537, allocations: 419.3 kB / 0.8452 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1707/1.708, allocations: 5.412 MB / 0.8505 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004861/1.709, allocations: 62.95 kB / 0.8506 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03039/1.739, allocations: 28.49 MB / 0.8784 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.739, allocations: 7.719 kB / 0.8784 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02412/1.763, allocations: 16.46 MB / 0.8945 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003608/1.767, allocations: 1.32 MB / 0.8958 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007662/1.768, allocations: 63.91 kB / 0.8958 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002801/1.77, allocations: 267.6 kB / 0.8961 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007057/1.771, allocations: 245.8 kB / 0.8963 GB, free: 116.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.771, allocations: 89.09 kB / 0.8964 GB, free: 116.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004986/1.776, allocations: 4.691 MB / 0.901 GB, free: 111.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.776, allocations: 0 / 0.901 GB, free: 111.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006083/1.782, allocations: 1.987 MB / 0.9029 GB, free: 109.7 MB / 446.1 MB 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.024/1.806, allocations: 17.16 MB / 0.9197 GB, free: 92.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01343/1.82, allocations: 10.46 MB / 0.9299 GB, free: 82.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.82, allocations: 0 / 0.9299 GB, free: 82.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006546/1.826, allocations: 4.686 MB / 0.9345 GB, free: 77.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01146/1.838, allocations: 1.028 MB / 0.9355 GB, free: 76.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.348/2.186, allocations: 118.6 MB / 1.051 GB, free: 125.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0046/2.191, allocations: 5.554 MB / 1.057 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005329/2.196, allocations: 2.63 MB / 1.059 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003147/2.199, allocations: 3.712 MB / 1.063 GB, free: 121 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/2.199, allocations: 0 / 1.063 GB, free: 121 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.088/9.287, allocations: 156.8 MB / 1.216 GB, free: 137.6 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/9.287, allocations: 243.8 kB / 1.216 GB, free: 137.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.128/15.42, allocations: 4 kB / 1.216 GB, free: 137.3 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches