Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.0009371/0.0009371, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005297/0.005297, allocations: 155.4 kB / 24.7 MB, free: 8.355 MB / 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 0.8902/0.8902, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.023e-05, allocations: 2.984 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01071/0.01073, allocations: 15.63 MB / 341.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008149/0.01888, allocations: 5.858 MB / 347.3 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.02042, allocations: 175.1 kB / 347.4 MB, free: 9.629 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00531/0.02573, allocations: 6.394 MB / 353.8 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003853/0.02958, allocations: 2.99 MB / 356.8 MB, free: 216 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.03197, allocations: 2.455 MB / 359.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007904/0.03988, allocations: 11.13 MB / 370.4 MB, free: 2.609 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005512/0.04539, allocations: 7.234 MB / 377.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004524/0.04991, allocations: 4.94 MB / 382.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/0.05359, allocations: 4.653 MB / 387.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007095/0.0543, allocations: 0.7383 MB / 388 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.05653, allocations: 1.865 MB / 389.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002004/0.05853, allocations: 4.076 MB / 393.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.0602, allocations: 2.567 MB / 396.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009281/0.06948, allocations: 13.52 MB / 410 MB, free: 10.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.06949, allocations: 0 / 410 MB, free: 10.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.06949, allocations: 0 / 410 MB, free: 10.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002133/0.0697, allocations: 0 / 410 MB, free: 10.84 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.01199/0.08169, allocations: 9.214 MB / 419.2 MB, free: 1.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.08173, allocations: 11.98 kB / 419.2 MB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02002/0.1018, allocations: 5.048 MB / 424.3 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009944/0.1117, allocations: 6.283 MB / 430.5 MB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.1119, allocations: 435.7 kB / 431 MB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/0.1131, allocations: 0.586 MB / 431.6 MB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02262/0.1357, allocations: 17.3 MB / 448.9 MB, free: 2.793 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002054/0.1359, allocations: 79.47 kB / 448.9 MB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006803/0.1366, allocations: 267.8 kB / 449.2 MB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2716/0.4082, allocations: 2.658 MB / 451.8 MB, free: 106.2 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/0.4265, allocations: 14.76 MB / 466.6 MB, free: 100.1 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0491/0.4756, allocations: 60.01 MB / 0.5143 GB, free: 39.71 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.4874, allocations: 8.292 MB / 0.5224 GB, free: 31.44 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003694/0.4911, allocations: 4.74 MB / 0.527 GB, free: 26.7 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01614/0.5072, allocations: 17.47 MB / 0.5441 GB, free: 9.41 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.5073, allocations: 64.5 kB / 0.5441 GB, free: 9.34 MB / 410.8 MB Notification: Performance of pre-optimization done (n=281): time 5.741e-06/0.5073, allocations: 3.188 kB / 0.5441 GB, free: 9.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=374): time 0.2954/0.8027, allocations: 76.69 MB / 0.619 GB, free: 158.1 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.8028, allocations: 372 kB / 0.6194 GB, free: 157.7 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005572/0.8084, allocations: 6.459 MB / 0.6257 GB, free: 156.5 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008723/0.8093, allocations: 81.5 kB / 0.6258 GB, free: 156.5 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001598/0.8109, allocations: 4.935 MB / 0.6306 GB, free: 153.8 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001422/0.8123, allocations: 1.427 MB / 0.632 GB, free: 152.7 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002058/0.8144, allocations: 1.955 MB / 0.6339 GB, free: 151.8 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.036e-05/0.8144, allocations: 303.8 kB / 0.6342 GB, free: 151.5 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004741/0.8191, allocations: 5.994 MB / 0.64 GB, free: 149.3 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005893/0.825, allocations: 11.22 MB / 0.651 GB, free: 140.1 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/0.8372, allocations: 17.97 MB / 0.6685 GB, free: 122.4 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/0.8373, allocations: 49.12 kB / 0.6686 GB, free: 122.4 MB / 474.8 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.02814/0.8654, allocations: 23.24 MB / 0.6913 GB, free: 99.1 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/0.8655, allocations: 80 kB / 0.6914 GB, free: 99.02 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/0.8656, allocations: 172 kB / 0.6915 GB, free: 98.85 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/0.877, allocations: 7.439 MB / 0.6988 GB, free: 91.4 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004277/0.8813, allocations: 2.187 MB / 0.7009 GB, free: 89.21 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02848/0.9098, allocations: 37.48 MB / 0.7375 GB, free: 51.43 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006791/0.9166, allocations: 0.8581 MB / 0.7384 GB, free: 50.57 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002143/0.9187, allocations: 0.534 MB / 0.7389 GB, free: 50.05 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 785 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1084 * Array equations: 4 * 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 {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.005287/0.924, allocations: 3.43 MB / 0.7422 GB, free: 46.61 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001273/0.9253, allocations: 0.5635 MB / 0.7428 GB, free: 46.04 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01751/0.9428, allocations: 16.83 MB / 0.7592 GB, free: 29.13 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-05/0.9429, allocations: 48 kB / 0.7593 GB, free: 29.09 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.981e-05/0.9429, allocations: 16 kB / 0.7593 GB, free: 29.07 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.026e-05/0.943, allocations: 23.92 kB / 0.7593 GB, free: 29.05 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1947/1.138, allocations: 29.65 MB / 0.7883 GB, free: 139.3 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.604e-05/1.138, allocations: 3.938 kB / 0.7883 GB, free: 139.3 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/1.14, allocations: 0.613 MB / 0.7889 GB, free: 139.3 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01111/1.151, allocations: 7.002 MB / 0.7957 GB, free: 139.3 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007868/1.152, allocations: 63.73 kB / 0.7958 GB, free: 139.3 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02869/1.18, allocations: 35.71 MB / 0.8306 GB, free: 124 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.18, allocations: 4 kB / 0.8306 GB, free: 124 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0236/1.204, allocations: 24.51 MB / 0.8546 GB, free: 100.6 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/1.206, allocations: 0.6143 MB / 0.8552 GB, free: 100.3 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/1.207, allocations: 63.94 kB / 0.8552 GB, free: 100.3 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002814/1.21, allocations: 0.542 MB / 0.8558 GB, free: 99.72 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008094/1.211, allocations: 260 kB / 0.856 GB, free: 99.46 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/1.211, allocations: 101.1 kB / 0.8561 GB, free: 99.37 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.003756/1.215, allocations: 3.913 MB / 0.8599 GB, free: 95.48 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.5e-07/1.215, allocations: 0 / 0.8599 GB, free: 95.48 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.00767/1.222, allocations: 2.607 MB / 0.8625 GB, free: 92.89 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * Array equations: 4 * 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 {(5,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009993/1.223, allocations: 311.8 kB / 0.8628 GB, free: 92.61 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01368/1.237, allocations: 14.19 MB / 0.8766 GB, free: 78.48 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.237, allocations: 4 kB / 0.8766 GB, free: 78.48 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005816/1.243, allocations: 6.162 MB / 0.8827 GB, free: 72.33 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/1.246, allocations: 0.8073 MB / 0.8834 GB, free: 71.55 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02263/1.269, allocations: 20.9 MB / 0.9038 GB, free: 50.65 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004157/1.273, allocations: 4.738 MB / 0.9085 GB, free: 45.88 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/1.275, allocations: 436.4 kB / 0.9089 GB, free: 45.46 MB / 474.8 MB Notification: Performance of SimCode: time 1.633e-06/1.275, allocations: 0 / 0.9089 GB, free: 45.46 MB / 474.8 MB Notification: Performance of Templates: time 0.3381/1.613, allocations: 212.4 MB / 1.116 GB, free: 16.77 MB / 490.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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: 14.086051933467388]