Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.001393/0.001393, allocations: 89.88 kB / 21.45 MB, free: 272 kB / 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.001535/0.001535, allocations: 160.9 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.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: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.006e-05/4.232e-05, allocations: 2.281 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01946/0.0195, allocations: 13.88 MB / 312.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0154/0.0349, allocations: 4.961 MB / 317.8 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004349/0.03925, allocations: 135.2 kB / 317.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01104/0.05029, allocations: 4.571 MB / 322.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1954/0.2457, allocations: 2.702 MB / 325.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.249, allocations: 1.287 MB / 326.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01363/0.2626, allocations: 8.488 MB / 335 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007565/0.2701, allocations: 5.08 MB / 340.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008617/0.2788, allocations: 3.843 MB / 343.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005106/0.2839, allocations: 3.772 MB / 347.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009775/0.2848, allocations: 0.5193 MB / 348.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.2875, allocations: 1.466 MB / 349.7 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002738/0.2903, allocations: 3.222 MB / 352.9 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002928/0.2932, allocations: 2.021 MB / 354.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01641/0.3096, allocations: 10.59 MB / 365.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.881e-05/0.3096, allocations: 0 / 365.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3096, allocations: 4 kB / 365.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008018/0.3104, allocations: 3.938 kB / 365.5 MB, free: 9.68 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.02734/0.3378, allocations: 7.848 MB / 373.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.3378, allocations: 11.98 kB / 373.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01759/0.3554, allocations: 3.35 MB / 376.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/0.3685, allocations: 4.837 MB / 381.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004893/0.369, allocations: 335.5 kB / 381.9 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/0.3712, allocations: 468.6 kB / 382.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03728/0.4085, allocations: 14.66 MB / 397 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004576/0.4089, allocations: 70.48 kB / 397.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00199/0.4109, allocations: 215.2 kB / 397.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00664/0.4176, allocations: 2.835 MB / 400.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03177/0.4493, allocations: 13.17 MB / 413.3 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08891/0.5383, allocations: 54.51 MB / 467.8 MB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02079/0.559, allocations: 7.098 MB / 474.9 MB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008445/0.5675, allocations: 4.591 MB / 479.5 MB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2251/0.7926, allocations: 11.85 MB / 491.3 MB, free: 137.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.399e-05/0.7926, allocations: 66.62 kB / 491.4 MB, free: 137.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=326): time 9.618e-06/0.7926, allocations: 0 / 491.4 MB, free: 137.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=572): time 2.198/2.991, allocations: 413.8 MB / 0.884 GB, free: 79.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/2.991, allocations: 273.9 kB / 0.8842 GB, free: 79.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006339/2.997, allocations: 5.383 MB / 0.8895 GB, free: 74.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002002/2.999, allocations: 113.7 kB / 0.8896 GB, free: 74.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001998/3.001, allocations: 4.086 MB / 0.8936 GB, free: 71.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002745/3.004, allocations: 2.063 MB / 0.8956 GB, free: 69.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004144/3.008, allocations: 2.168 MB / 0.8977 GB, free: 67.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.984e-05/3.008, allocations: 305.1 kB / 0.898 GB, free: 66.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01291/3.021, allocations: 11.06 MB / 0.9088 GB, free: 55.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01503/3.036, allocations: 15.32 MB / 0.9238 GB, free: 38.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03218/3.068, allocations: 27.45 MB / 0.9506 GB, free: 9.156 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001738/3.068, allocations: 40 kB / 0.9506 GB, free: 9.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5303/3.599, allocations: 140.7 MB / 1.088 GB, free: 28.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.8e-05/3.599, allocations: 67.94 kB / 1.088 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/3.599, allocations: 140 kB / 1.088 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2765/3.875, allocations: 34.66 MB / 1.122 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005698/3.881, allocations: 1.57 MB / 1.124 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4289/4.31, allocations: 201 MB / 1.32 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01371/4.324, allocations: 1.828 MB / 1.322 GB, free: 101.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00231/4.326, allocations: 0.5375 MB / 1.322 GB, free: 101.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (840): * Single equations (assignments): 833 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,164,40.5%), (16,102,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.005717/4.332, allocations: 3.096 MB / 1.325 GB, free: 99.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001898/4.333, allocations: 0.5538 MB / 1.326 GB, free: 99.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4877/4.821, allocations: 136.3 MB / 1.459 GB, free: 129.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-05/4.821, allocations: 59.84 kB / 1.459 GB, free: 129.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001511/4.821, allocations: 58.94 kB / 1.459 GB, free: 129.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.983e-05/4.822, allocations: 27.94 kB / 1.459 GB, free: 129.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5908/5.412, allocations: 201.8 MB / 1.656 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.205e-05/5.412, allocations: 10.81 kB / 1.656 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/5.414, allocations: 334.2 kB / 1.656 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07445/5.488, allocations: 33.4 MB / 1.689 GB, free: 98.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001891/5.49, allocations: 103.9 kB / 1.689 GB, free: 98.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4139/5.904, allocations: 183.8 MB / 1.868 GB, free: 82.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/5.904, allocations: 11.75 kB / 1.869 GB, free: 82.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5428/6.447, allocations: 152.2 MB / 2.017 GB, free: 95.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008022/6.455, allocations: 2.967 MB / 2.02 GB, free: 94.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002449/6.458, allocations: 104.4 kB / 2.02 GB, free: 94.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01062/6.468, allocations: 1.578 MB / 2.022 GB, free: 92.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004144/6.472, allocations: 0.5242 MB / 2.022 GB, free: 92.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009437/6.473, allocations: 144.2 kB / 2.022 GB, free: 92.22 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004303/6.478, allocations: 3.271 MB / 2.025 GB, free: 89.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/6.478, allocations: 7.938 kB / 2.025 GB, free: 89.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01561/6.493, allocations: 4.118 MB / 2.03 GB, free: 85.91 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (j1.phi,j1.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 (165): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,157,40.5%), (16,99,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,86)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001992/6.495, allocations: 266.1 kB / 2.03 GB, free: 85.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.05398/6.549, allocations: 32.72 MB / 2.062 GB, free: 53.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/6.549, allocations: 0 / 2.062 GB, free: 53.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.03792/6.587, allocations: 19.57 MB / 2.081 GB, free: 33.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007165/6.594, allocations: 0.7004 MB / 2.082 GB, free: 32.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2172/6.811, allocations: 27.37 MB / 2.108 GB, free: 122.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009743/6.821, allocations: 4.626 MB / 2.113 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005268/6.826, allocations: 2.008 MB / 2.115 GB, free: 122 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/6.828, allocations: 293.4 kB / 2.115 GB, free: 122 MB / 462.1 MB Notification: Performance of SimCode: time 1.223e-06/6.828, allocations: 0 / 2.115 GB, free: 122 MB / 462.1 MB Notification: Performance of Templates: time 0.5359/7.364, allocations: 283.4 MB / 2.392 GB, free: 50.8 MB / 478.1 MB " [Timeout remaining time 653] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.822223860770464]