Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.001393/0.001393, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001495/0.001495, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.477/1.477, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.689e-05, allocations: 5.266 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01839/0.01841, allocations: 13.75 MB / 286 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1314/0.1498, allocations: 4.928 MB / 290.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003826/0.1537, allocations: 136.5 kB / 291 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.1645, allocations: 4.615 MB / 295.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008218/0.1727, allocations: 2.665 MB / 298.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.1759, allocations: 1.296 MB / 299.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.1871, allocations: 9.208 MB / 308.8 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005911/0.193, allocations: 5.207 MB / 314 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006449/0.1994, allocations: 3.788 MB / 317.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005943/0.2054, allocations: 3.77 MB / 321.6 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001896/0.2073, allocations: 0.5234 MB / 322.1 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004912/0.2122, allocations: 1.466 MB / 323.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004492/0.2167, allocations: 3.18 MB / 326.7 MB, free: 9.555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004638/0.2213, allocations: 2.013 MB / 328.7 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.2378, allocations: 10.57 MB / 339.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2378, allocations: 0 / 339.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2378, allocations: 4 kB / 339.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003815/0.2382, allocations: 0 / 339.3 MB, free: 13.47 MB / 298.7 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.02383/0.262, allocations: 7.894 MB / 347.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.262, allocations: 11.98 kB / 347.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/0.2793, allocations: 4.062 MB / 351.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.2915, allocations: 4.672 MB / 356 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003977/0.2919, allocations: 336.1 kB / 356.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002035/0.2939, allocations: 466.7 kB / 356.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03154/0.3255, allocations: 14.77 MB / 371.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000241/0.3257, allocations: 71.52 kB / 371.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008015/0.3265, allocations: 211.8 kB / 371.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006096/0.3326, allocations: 2.844 MB / 374.6 MB, free: 9.512 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02979/0.3624, allocations: 13.28 MB / 387.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2235/0.5859, allocations: 54.83 MB / 442.7 MB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01801/0.6039, allocations: 7.057 MB / 449.8 MB, free: 85.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005061/0.6089, allocations: 4.664 MB / 454.5 MB, free: 83.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01789/0.6268, allocations: 12.04 MB / 466.5 MB, free: 78.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.6269, allocations: 67.28 kB / 466.6 MB, free: 78.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=327): time 6.472e-06/0.6269, allocations: 0 / 466.6 MB, free: 78.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=573): time 1.897/2.524, allocations: 438.3 MB / 0.8837 GB, free: 39.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/2.524, allocations: 269.6 kB / 0.884 GB, free: 38.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005529/2.53, allocations: 5.188 MB / 0.889 GB, free: 33.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001535/2.531, allocations: 109.7 kB / 0.8891 GB, free: 33.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001614/2.533, allocations: 4.068 MB / 0.8931 GB, free: 29.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002308/2.535, allocations: 2.069 MB / 0.8951 GB, free: 27.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003884/2.539, allocations: 2.163 MB / 0.8972 GB, free: 25.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.363e-05/2.539, allocations: 301.1 kB / 0.8975 GB, free: 25.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1329/2.672, allocations: 11.36 MB / 0.9086 GB, free: 146.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01612/2.688, allocations: 15.56 MB / 0.9238 GB, free: 137 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03077/2.719, allocations: 27.99 MB / 0.9511 GB, free: 120.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001351/2.719, allocations: 40 kB / 0.9512 GB, free: 120.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.465/3.184, allocations: 142.9 MB / 1.091 GB, free: 127.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.126e-05/3.184, allocations: 68.16 kB / 1.091 GB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/3.184, allocations: 133.7 kB / 1.091 GB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1521/3.336, allocations: 76.6 MB / 1.166 GB, free: 60.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004956/3.341, allocations: 1.571 MB / 1.167 GB, free: 58.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5539/3.895, allocations: 205.4 MB / 1.368 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01361/3.909, allocations: 1.867 MB / 1.37 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002398/3.911, allocations: 0.5258 MB / 1.37 GB, free: 120.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 623 * 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 (832): * Single equations (assignments): 825 * 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 {(21,163,34.9%), (17,101,42.9%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.006113/3.917, allocations: 3.094 MB / 1.373 GB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002834/3.92, allocations: 0.7104 MB / 1.374 GB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4355/4.356, allocations: 138.1 MB / 1.509 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.934e-05/4.356, allocations: 59.27 kB / 1.509 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001809/4.356, allocations: 58.5 kB / 1.509 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001248/4.356, allocations: 28.3 kB / 1.509 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5054/4.862, allocations: 204.3 MB / 1.708 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.577e-05/4.862, allocations: 11.23 kB / 1.708 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/4.863, allocations: 353.7 kB / 1.709 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1494/5.013, allocations: 75.3 MB / 1.782 GB, free: 51.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001953/5.014, allocations: 111.8 kB / 1.782 GB, free: 51.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4906/5.505, allocations: 187.9 MB / 1.966 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-06/5.505, allocations: 9.594 kB / 1.966 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4978/6.003, allocations: 154.6 MB / 2.117 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/6.005, allocations: 0.5706 MB / 2.117 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004055/6.009, allocations: 101 kB / 2.117 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01891/6.028, allocations: 1.624 MB / 2.119 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007024/6.035, allocations: 0.522 MB / 2.12 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002362/6.038, allocations: 141.6 kB / 2.12 GB, free: 112.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008593/6.046, allocations: 3.139 MB / 2.123 GB, free: 112.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/6.046, allocations: 1.594 kB / 2.123 GB, free: 112.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01523/6.062, allocations: 4.151 MB / 2.127 GB, free: 112.4 MB / 426.7 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 (166): * Single equations (assignments): 159 * 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 {(21,156,34.9%), (17,98,42.9%), (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.001936/6.063, allocations: 259.1 kB / 2.127 GB, free: 112.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.05628/6.12, allocations: 33.66 MB / 2.16 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.658e-05/6.12, allocations: 0.7656 kB / 2.16 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04059/6.16, allocations: 20.23 MB / 2.18 GB, free: 85.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00737/6.168, allocations: 0.7411 MB / 2.18 GB, free: 85.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03921/6.207, allocations: 27.66 MB / 2.207 GB, free: 60.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007602/6.215, allocations: 4.608 MB / 2.212 GB, free: 56.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003968/6.219, allocations: 1.983 MB / 2.214 GB, free: 55.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008092/6.219, allocations: 290.8 kB / 2.214 GB, free: 55.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.213e-06/6.219, allocations: 0 / 2.214 GB, free: 55.38 MB / 426.7 MB Notification: Performance of Templates: time 0.5891/6.808, allocations: 289 MB / 2.496 GB, free: 50.82 MB / 426.7 MB " [Timeout remaining time 653] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.34343235299457]