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.001256/0.001256, allocations: 84.39 kB / 21.99 MB, free: 4.746 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.001252/0.001252, allocations: 153.4 kB / 25.24 MB, free: 2.742 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.333/1.333, allocations: 158.6 MB / 187 MB, free: 6.352 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 55.92 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2087, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01616/0.2249, allocations: 13.86 MB / 362.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.2356, allocations: 4.989 MB / 367.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002665/0.2383, allocations: 139.2 kB / 367.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009116/0.2474, allocations: 4.326 MB / 371.8 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007802/0.2552, allocations: 2.638 MB / 374.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.258, allocations: 1.17 MB / 375.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01068/0.2687, allocations: 7.496 MB / 383.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005582/0.2743, allocations: 4.293 MB / 387.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00448/0.2788, allocations: 2.543 MB / 390 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0058/0.2846, allocations: 3.43 MB / 393.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001487/0.2861, allocations: 0.5078 MB / 393.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.2893, allocations: 1.393 MB / 395.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003483/0.2927, allocations: 3.062 MB / 398.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003873/0.2966, allocations: 2.536 MB / 400.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.3094, allocations: 10.46 MB / 411.3 MB, free: 404 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.3094, allocations: 0 / 411.3 MB, free: 404 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3094, allocations: 0 / 411.3 MB, free: 404 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003215/0.3097, allocations: 0 / 411.3 MB, free: 404 kB / 366.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.02083/0.3305, allocations: 7.754 MB / 419.1 MB, free: 8.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.3306, allocations: 11.98 kB / 419.1 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/0.3462, allocations: 3.355 MB / 422.5 MB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01298/0.3592, allocations: 4.939 MB / 427.4 MB, free: 164 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/0.3595, allocations: 337.1 kB / 427.7 MB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001391/0.3609, allocations: 471.6 kB / 428.2 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02622/0.3871, allocations: 14.64 MB / 442.8 MB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/0.3873, allocations: 75.36 kB / 442.9 MB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005618/0.3879, allocations: 219.8 kB / 443.1 MB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005564/0.3935, allocations: 2.832 MB / 446 MB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02726/0.4207, allocations: 13.16 MB / 459.1 MB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2425/0.6632, allocations: 54.09 MB / 0.5012 GB, free: 66.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01517/0.6784, allocations: 7.104 MB / 0.5081 GB, free: 64.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004443/0.6828, allocations: 4.596 MB / 0.5126 GB, free: 61.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01468/0.6975, allocations: 11.5 MB / 0.5238 GB, free: 50.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.6976, allocations: 68.7 kB / 0.5239 GB, free: 50.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=326): time 7.384e-06/0.6976, allocations: 0 / 0.5239 GB, free: 50.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=572): time 1.973/2.671, allocations: 413.6 MB / 0.9278 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/2.671, allocations: 269.7 kB / 0.928 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004963/2.676, allocations: 5.021 MB / 0.9329 GB, free: 95.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001249/2.677, allocations: 109.7 kB / 0.933 GB, free: 95.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/2.678, allocations: 4.127 MB / 0.9371 GB, free: 92.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001761/2.68, allocations: 2.104 MB / 0.9391 GB, free: 90.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003483/2.684, allocations: 2.191 MB / 0.9413 GB, free: 87.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.301e-05/2.684, allocations: 305.1 kB / 0.9415 GB, free: 87.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01109/2.695, allocations: 11.06 MB / 0.9524 GB, free: 76.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01245/2.707, allocations: 15.32 MB / 0.9673 GB, free: 59.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02654/2.734, allocations: 27.44 MB / 0.9941 GB, free: 30 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.271e-05/2.734, allocations: 47.86 kB / 0.9942 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5235/3.257, allocations: 140.7 MB / 1.132 GB, free: 75.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.822e-05/3.257, allocations: 64 kB / 1.132 GB, free: 75.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/3.258, allocations: 136 kB / 1.132 GB, free: 75.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07523/3.333, allocations: 34.66 MB / 1.166 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004625/3.337, allocations: 1.575 MB / 1.167 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.429/3.766, allocations: 200.9 MB / 1.363 GB, free: 47.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01235/3.779, allocations: 1.729 MB / 1.365 GB, free: 46.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001608/3.78, allocations: 0.5385 MB / 1.365 GB, free: 45.62 MB / 0.5137 GB 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.00481/3.785, allocations: 3.095 MB / 1.369 GB, free: 42.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/3.787, allocations: 0.5522 MB / 1.369 GB, free: 42.29 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4988/4.285, allocations: 136.3 MB / 1.502 GB, free: 100 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.002e-05/4.286, allocations: 56 kB / 1.502 GB, free: 99.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001661/4.286, allocations: 64.56 kB / 1.502 GB, free: 99.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001122/4.286, allocations: 27.89 kB / 1.502 GB, free: 99.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5682/4.854, allocations: 201.6 MB / 1.699 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.153e-05/4.854, allocations: 9.844 kB / 1.699 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/4.856, allocations: 334.3 kB / 1.699 GB, free: 120 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07055/4.926, allocations: 33.4 MB / 1.732 GB, free: 87.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001911/4.928, allocations: 96 kB / 1.732 GB, free: 87.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4111/5.339, allocations: 183.6 MB / 1.911 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/5.339, allocations: 11.84 kB / 1.912 GB, free: 100 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5257/5.865, allocations: 152.2 MB / 2.06 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006348/5.871, allocations: 2.893 MB / 2.063 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001685/5.873, allocations: 96.86 kB / 2.063 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008594/5.881, allocations: 1.485 MB / 2.064 GB, free: 138.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002935/5.884, allocations: 0.5237 MB / 2.065 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007206/5.885, allocations: 139.1 kB / 2.065 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003429/5.889, allocations: 3.005 MB / 2.068 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/5.889, allocations: 0 / 2.068 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01075/5.899, allocations: 3.848 MB / 2.072 GB, free: 131.4 MB / 0.5294 GB 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.001015/5.9, allocations: 241.1 kB / 2.072 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.05002/5.95, allocations: 32.74 MB / 2.104 GB, free: 98.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/5.95, allocations: 4 kB / 2.104 GB, free: 98.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0363/5.987, allocations: 19.58 MB / 2.123 GB, free: 78.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00531/5.992, allocations: 0.6864 MB / 2.124 GB, free: 78.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03525/6.027, allocations: 27.47 MB / 2.151 GB, free: 50.74 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005846/6.033, allocations: 4.624 MB / 2.155 GB, free: 46.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003999/6.037, allocations: 1.995 MB / 2.157 GB, free: 44.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008111/6.038, allocations: 284.5 kB / 2.157 GB, free: 43.85 MB / 0.5294 GB Notification: Performance of SimCode: time 1.051e-06/6.038, allocations: 0 / 2.157 GB, free: 43.85 MB / 0.5294 GB Notification: Performance of Templates: time 0.6717/6.71, allocations: 280.1 MB / 2.431 GB, free: 160.2 MB / 0.545 GB " [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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","/var/lib/jenkins1/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: 15.794698860030621]