Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 173.4 MB / 201.1 MB, free: 12.62 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 50.8 kB / 319.4 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0863/0.08792, allocations: 52.16 MB / 371.6 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01868/0.1066, allocations: 15.73 MB / 387.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.1191, allocations: 5.854 MB / 393.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/0.1225, allocations: 171.1 kB / 393.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.012/0.1345, allocations: 6.091 MB / 399.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00782/0.1423, allocations: 2.938 MB / 402.4 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005189/0.1475, allocations: 2.246 MB / 404.6 MB, free: 6.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01481/0.1623, allocations: 9.517 MB / 414.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008692/0.171, allocations: 6.205 MB / 420.3 MB, free: 6.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006949/0.1779, allocations: 3.264 MB / 423.6 MB, free: 3.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007013/0.1849, allocations: 4.163 MB / 427.7 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001819/0.1868, allocations: 0.7148 MB / 428.5 MB, free: 14.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003843/0.1906, allocations: 1.81 MB / 430.3 MB, free: 12.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004338/0.1949, allocations: 3.896 MB / 434.2 MB, free: 8.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004764/0.1997, allocations: 3.159 MB / 437.3 MB, free: 5.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01633/0.216, allocations: 13.33 MB / 450.7 MB, free: 7.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.216, allocations: 8 kB / 450.7 MB, free: 7.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.216, allocations: 0 / 450.7 MB, free: 7.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005295/0.2166, allocations: 0 / 450.7 MB, free: 7.945 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: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.02558/0.2422, allocations: 9.062 MB / 459.7 MB, free: 14.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2422, allocations: 8.922 kB / 459.7 MB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05012/0.2923, allocations: 5.052 MB / 464.8 MB, free: 9.734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01645/0.3088, allocations: 6.44 MB / 471.2 MB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003749/0.3091, allocations: 435.7 kB / 471.7 MB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00153/0.3107, allocations: 0.5818 MB / 472.2 MB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.369/0.6797, allocations: 17.29 MB / 489.5 MB, free: 78.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002205/0.6799, allocations: 79.36 kB / 489.6 MB, free: 78.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006766/0.6806, allocations: 270 kB / 489.9 MB, free: 77.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003701/0.6843, allocations: 2.657 MB / 492.5 MB, free: 77.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02526/0.7096, allocations: 14.76 MB / 0.4954 GB, free: 63.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06431/0.7739, allocations: 59.52 MB / 0.5535 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02282/0.7967, allocations: 8.281 MB / 0.5616 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006786/0.8035, allocations: 4.732 MB / 0.5662 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02992/0.8334, allocations: 17.01 MB / 0.5828 GB, free: 6.141 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.261e-05/0.8335, allocations: 68.48 kB / 0.5829 GB, free: 6.066 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 6.242e-06/0.8335, allocations: 0 / 0.5829 GB, free: 6.066 MB / 462.1 MB Notification: Performance of matching and sorting (n=374): time 0.2796/1.113, allocations: 76.42 MB / 0.6575 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002345/1.113, allocations: 384.5 kB / 0.6579 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008574/1.122, allocations: 6.118 MB / 0.6639 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008894/1.123, allocations: 85.7 kB / 0.664 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.192/1.315, allocations: 4.966 MB / 0.6688 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001843/1.317, allocations: 1.443 MB / 0.6702 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003844/1.32, allocations: 1.989 MB / 0.6722 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.074e-05/1.321, allocations: 305.7 kB / 0.6725 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008613/1.329, allocations: 5.992 MB / 0.6783 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009106/1.338, allocations: 11.23 MB / 0.6893 GB, free: 169 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01592/1.354, allocations: 17.96 MB / 0.7068 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/1.354, allocations: 48 kB / 0.7069 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04031/1.395, allocations: 23.25 MB / 0.7296 GB, free: 139 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.309e-05/1.395, allocations: 83.94 kB / 0.7296 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/1.395, allocations: 172 kB / 0.7298 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02008/1.415, allocations: 7.437 MB / 0.7371 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006747/1.422, allocations: 2.191 MB / 0.7392 GB, free: 129.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04139/1.463, allocations: 37.3 MB / 0.7756 GB, free: 91.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008009/1.471, allocations: 0.7471 MB / 0.7764 GB, free: 90.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.472, allocations: 0.5307 MB / 0.7769 GB, free: 90.21 MB / 0.5294 GB 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.004562/1.477, allocations: 3.425 MB / 0.7802 GB, free: 86.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.478, allocations: 0.5627 MB / 0.7808 GB, free: 86.31 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02963/1.508, allocations: 16.84 MB / 0.7972 GB, free: 69.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.631e-05/1.508, allocations: 44 kB / 0.7973 GB, free: 69.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.802e-05/1.508, allocations: 20.66 kB / 0.7973 GB, free: 69.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.985e-05/1.508, allocations: 19.92 kB / 0.7973 GB, free: 69.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04674/1.555, allocations: 29.42 MB / 0.826 GB, free: 39.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-05/1.555, allocations: 3.938 kB / 0.826 GB, free: 39.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003199/1.558, allocations: 0.6122 MB / 0.8266 GB, free: 38.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01986/1.578, allocations: 7.002 MB / 0.8335 GB, free: 31.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008571/1.579, allocations: 60 kB / 0.8335 GB, free: 31.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2282/1.807, allocations: 35.54 MB / 0.8682 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.807, allocations: 9.703 kB / 0.8682 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0404/1.847, allocations: 24.5 MB / 0.8922 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/1.849, allocations: 0.5352 MB / 0.8927 GB, free: 154 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001597/1.85, allocations: 66.12 kB / 0.8928 GB, free: 154 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004925/1.855, allocations: 448 kB / 0.8932 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001265/1.856, allocations: 259.5 kB / 0.8934 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005645/1.857, allocations: 90.64 kB / 0.8935 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005583/1.863, allocations: 3.661 MB / 0.8971 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/1.863, allocations: 0 / 0.8971 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009469/1.872, allocations: 2.285 MB / 0.8993 GB, free: 152.5 MB / 0.5294 GB 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.001297/1.873, allocations: 280.7 kB / 0.8996 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01886/1.892, allocations: 14.2 MB / 0.9135 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.892, allocations: 3.688 kB / 0.9135 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00901/1.901, allocations: 6.16 MB / 0.9195 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006416/1.908, allocations: 0.8027 MB / 0.9203 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02921/1.937, allocations: 20.27 MB / 0.9401 GB, free: 118.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006731/1.944, allocations: 4.786 MB / 0.9447 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006778/1.95, allocations: 2.975 MB / 0.9476 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/1.952, allocations: 364.4 kB / 0.948 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of SimCode: time 9.91e-07/1.952, allocations: 4 kB / 0.948 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.1328/2.085, allocations: 104.7 MB / 1.05 GB, free: 6.324 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 9.070185340940952]