Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.00136/0.00136, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001469/0.001469, allocations: 213.3 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 43.92 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2108, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01582/0.2266, allocations: 13.02 MB / 445.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009596/0.2362, allocations: 4.617 MB / 450 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.2378, allocations: 111.5 kB / 450.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005856/0.2437, allocations: 3.087 MB / 453.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005871/0.2496, allocations: 2.619 MB / 455.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.2515, allocations: 0.9827 MB / 456.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008901/0.2604, allocations: 7.049 MB / 463.8 MB, free: 7.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004264/0.2647, allocations: 3.578 MB / 467.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.2682, allocations: 2.254 MB / 469.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00498/0.2732, allocations: 3.517 MB / 473.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.2743, allocations: 484 kB / 473.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002719/0.2771, allocations: 1.397 MB / 475 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003044/0.2801, allocations: 2.914 MB / 478 MB, free: 8.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003407/0.2835, allocations: 2.384 MB / 480.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.2954, allocations: 10.45 MB / 490.8 MB, free: 12.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2954, allocations: 0 / 490.8 MB, free: 12.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2954, allocations: 7.938 kB / 490.8 MB, free: 12.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002365/0.2956, allocations: 0 / 490.8 MB, free: 12.02 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01573/0.3113, allocations: 7.353 MB / 498.2 MB, free: 4.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3114, allocations: 8.031 kB / 498.2 MB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/0.3279, allocations: 3.978 MB / 0.4904 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.3388, allocations: 4.067 MB / 0.4943 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003069/0.3391, allocations: 320.4 kB / 0.4946 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/0.3405, allocations: 435.6 kB / 0.4951 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02745/0.3679, allocations: 15.79 MB / 0.5105 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00019/0.3681, allocations: 59.52 kB / 0.5105 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008748/0.369, allocations: 207.7 kB / 0.5107 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005298/0.3743, allocations: 3.216 MB / 0.5139 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02865/0.4029, allocations: 14.1 MB / 0.5276 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2538/0.6567, allocations: 53.37 MB / 0.5798 GB, free: 57.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/0.6688, allocations: 5.35 MB / 0.585 GB, free: 54.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003451/0.6723, allocations: 3.337 MB / 0.5882 GB, free: 51.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01854/0.6908, allocations: 11.93 MB / 0.5999 GB, free: 40.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.6908, allocations: 64.56 kB / 0.6 GB, free: 40 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 6.031e-06/0.6908, allocations: 0 / 0.6 GB, free: 40 MB / 446.1 MB Notification: Performance of matching and sorting (n=339): time 0.1351/0.8259, allocations: 42.53 MB / 0.6415 GB, free: 13.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.826, allocations: 217.9 kB / 0.6417 GB, free: 13.63 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006992/0.833, allocations: 5.208 MB / 0.6468 GB, free: 8.633 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005268/0.8336, allocations: 73.7 kB / 0.6469 GB, free: 8.555 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003356/0.8369, allocations: 4.56 MB / 0.6513 GB, free: 4.098 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001432/0.8384, allocations: 1.31 MB / 0.6526 GB, free: 2.777 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002794/0.8411, allocations: 1.857 MB / 0.6544 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.8413, allocations: 301.1 kB / 0.6547 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006995/0.8483, allocations: 4.8 MB / 0.6594 GB, free: 11.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01114/0.8594, allocations: 9.84 MB / 0.669 GB, free: 15.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01999/0.8794, allocations: 15.57 MB / 0.6842 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.014e-05/0.8795, allocations: 48 kB / 0.6842 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04406/0.9235, allocations: 19.48 MB / 0.7033 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.9236, allocations: 76.66 kB / 0.7033 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001809/0.9238, allocations: 180 kB / 0.7035 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02388/0.9477, allocations: 5.933 MB / 0.7093 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007657/0.9554, allocations: 2.109 MB / 0.7114 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03747/0.9928, allocations: 25.68 MB / 0.7364 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006759/0.9996, allocations: 0.5657 MB / 0.737 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/1.001, allocations: 0.5117 MB / 0.7375 GB, free: 6.605 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1094): * Single equations (assignments): 1086 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004907/1.006, allocations: 3.091 MB / 0.7405 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.007, allocations: 480.8 kB / 0.741 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2257/1.232, allocations: 12.86 MB / 0.7535 GB, free: 189.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.737e-05/1.232, allocations: 17.77 kB / 0.7535 GB, free: 189.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.232, allocations: 0 / 0.7535 GB, free: 189.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/1.233, allocations: 431.5 kB / 0.7539 GB, free: 189.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008899/1.234, allocations: 50.25 kB / 0.754 GB, free: 189.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0027/1.237, allocations: 265.8 kB / 0.7542 GB, free: 189.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006595/1.238, allocations: 215.8 kB / 0.7545 GB, free: 189.5 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01797/1.256, allocations: 10.43 MB / 0.7646 GB, free: 185.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01291/1.268, allocations: 12.84 MB / 0.7772 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003255/1.272, allocations: 3.354 MB / 0.7804 GB, free: 173.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003218/1.275, allocations: 2.993 MB / 0.7834 GB, free: 170.9 MB / 0.545 GB Notification: Performance of Backend: time 2.61e-07/1.275, allocations: 0 / 0.7834 GB, free: 170.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01067/1.286, allocations: 7.474 MB / 0.7907 GB, free: 163.6 MB / 0.545 GB Notification: Performance of SimCode: time 0.01599/1.302, allocations: 13.57 MB / 0.8039 GB, free: 150.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1129/1.415, allocations: 94.75 MB / 0.8964 GB, free: 55.86 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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: 7.515813488003914]