Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001586/0.001586, allocations: 79.84 kB / 21.99 MB, free: 4.754 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.001752/0.001752, allocations: 153.8 kB / 25.25 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.326/1.326, allocations: 158.6 MB / 187 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 179] 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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [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.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2197, allocations: 49.15 MB / 348.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01427/0.234, allocations: 11.82 MB / 360.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009783/0.2438, allocations: 4.633 MB / 365 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.2455, allocations: 107.4 kB / 365.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007776/0.2533, allocations: 4.081 MB / 369.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005675/0.2589, allocations: 2.222 MB / 371.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.2614, allocations: 1.115 MB / 372.5 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007585/0.2689, allocations: 5.631 MB / 378.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004747/0.2737, allocations: 4.056 MB / 382.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002964/0.2767, allocations: 2.204 MB / 384.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004062/0.2807, allocations: 2.897 MB / 387.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008637/0.2816, allocations: 0.4922 MB / 387.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.2843, allocations: 1.521 MB / 389.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002678/0.287, allocations: 2.665 MB / 392 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002713/0.2897, allocations: 2.183 MB / 394.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.3018, allocations: 9.632 MB / 403.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3018, allocations: 0 / 403.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3018, allocations: 0 / 403.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002415/0.3021, allocations: 0 / 403.8 MB, free: 7.883 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01354/0.3156, allocations: 6.124 MB / 409.9 MB, free: 1.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3157, allocations: 11.98 kB / 409.9 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/0.3279, allocations: 2.696 MB / 412.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009251/0.3371, allocations: 3.866 MB / 416.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.3374, allocations: 300.3 kB / 416.8 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/0.3388, allocations: 443.7 kB / 417.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.3626, allocations: 12.5 MB / 429.7 MB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001534/0.3628, allocations: 51.53 kB / 429.7 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004957/0.3633, allocations: 187.9 kB / 429.9 MB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003354/0.3666, allocations: 2.035 MB / 432 MB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02215/0.3888, allocations: 10.54 MB / 442.5 MB, free: 244 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2394/0.6282, allocations: 40.78 MB / 483.3 MB, free: 80.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.6396, allocations: 4.395 MB / 487.7 MB, free: 80.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.6416, allocations: 1.887 MB / 489.6 MB, free: 79.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00844/0.65, allocations: 5.719 MB / 495.3 MB, free: 77.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.65, allocations: 57.27 kB / 495.3 MB, free: 77.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=179): time 4.278e-06/0.65, allocations: 3.438 kB / 495.3 MB, free: 77.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.06263/0.7127, allocations: 20.51 MB / 0.5038 GB, free: 61.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.7127, allocations: 201.9 kB / 0.504 GB, free: 61.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004764/0.7175, allocations: 4.321 MB / 0.5082 GB, free: 56.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002199/0.7177, allocations: 61.7 kB / 0.5082 GB, free: 56.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.7192, allocations: 3.678 MB / 0.5118 GB, free: 53.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005828/0.7198, allocations: 0.8751 MB / 0.5127 GB, free: 52.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/0.7212, allocations: 1.35 MB / 0.514 GB, free: 51.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.549e-05/0.7213, allocations: 305.1 kB / 0.5143 GB, free: 50.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00281/0.7241, allocations: 2.363 MB / 0.5166 GB, free: 48.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003957/0.728, allocations: 6.219 MB / 0.5227 GB, free: 40.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007409/0.7354, allocations: 9.18 MB / 0.5316 GB, free: 29.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.561e-05/0.7355, allocations: 36 kB / 0.5317 GB, free: 29.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01504/0.7506, allocations: 9.515 MB / 0.541 GB, free: 19.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.103e-05/0.7507, allocations: 60 kB / 0.541 GB, free: 19.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/0.7508, allocations: 136.2 kB / 0.5411 GB, free: 19.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003725/0.7545, allocations: 1.366 MB / 0.5425 GB, free: 18.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003748/0.7582, allocations: 1.47 MB / 0.5439 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009578/0.7678, allocations: 8.244 MB / 0.552 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003803/0.7716, allocations: 353.9 kB / 0.5523 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004645/0.7721, allocations: 391.2 kB / 0.5527 GB, free: 7.879 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002766/0.7749, allocations: 2.493 MB / 0.5551 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006274/0.7755, allocations: 389.4 kB / 0.5555 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007357/0.7828, allocations: 4.072 MB / 0.5595 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/0.7829, allocations: 31.88 kB / 0.5595 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.7829, allocations: 8 kB / 0.5595 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.7829, allocations: 7.969 kB / 0.5595 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/0.8023, allocations: 8.638 MB / 0.5679 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.8023, allocations: 4 kB / 0.5679 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/0.8038, allocations: 336.1 kB / 0.5683 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004004/0.8078, allocations: 1.132 MB / 0.5694 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/0.808, allocations: 47.98 kB / 0.5694 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/0.8193, allocations: 6.948 MB / 0.5762 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.8193, allocations: 11.94 kB / 0.5762 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/0.8317, allocations: 6.876 MB / 0.5829 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/0.8335, allocations: 0.6417 MB / 0.5836 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007241/0.8343, allocations: 39.98 kB / 0.5836 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/0.8361, allocations: 115.9 kB / 0.5837 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/0.8365, allocations: 148.9 kB / 0.5838 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/0.8367, allocations: 63.98 kB / 0.5839 GB, free: 7.602 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00444/0.8411, allocations: 2.531 MB / 0.5864 GB, free: 5.059 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.8411, allocations: 0 / 0.5864 GB, free: 5.059 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005309/0.8464, allocations: 1.214 MB / 0.5876 GB, free: 3.848 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006127/0.847, allocations: 234.2 kB / 0.5878 GB, free: 3.613 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009383/0.8564, allocations: 5.529 MB / 0.5932 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/0.8564, allocations: 4.188 kB / 0.5932 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002812/0.8592, allocations: 1.733 MB / 0.5949 GB, free: 12.35 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/0.8624, allocations: 489.3 kB / 0.5954 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/0.8822, allocations: 11.31 MB / 0.6064 GB, free: 464 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00535/0.8875, allocations: 3.359 MB / 0.6097 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004763/0.8923, allocations: 1.896 MB / 0.6115 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008519/0.8932, allocations: 256.5 kB / 0.6118 GB, free: 10.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.8932, allocations: 4 kB / 0.6118 GB, free: 10.9 MB / 494.1 MB Notification: Performance of Templates: time 0.08009/0.9732, allocations: 38.31 MB / 0.6492 GB, free: 4.539 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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: 6.598730223951861]