Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001081, allocations: 110.9 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 186.6 kB / 18.67 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009346/0.0009346, allocations: 43.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2133, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01274/0.2261, allocations: 13.49 MB / 414.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00767/0.2338, allocations: 4.854 MB / 419.8 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.2348, allocations: 87.75 kB / 419.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006515/0.2413, allocations: 4.194 MB / 424 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.2451, allocations: 2.206 MB / 426.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.247, allocations: 1.1 MB / 427.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005911/0.2529, allocations: 5.973 MB / 433.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004709/0.2576, allocations: 5.305 MB / 438.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.2598, allocations: 2.15 MB / 440.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002897/0.2628, allocations: 2.867 MB / 443.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000669/0.2634, allocations: 0.4922 MB / 444.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.2659, allocations: 1.642 MB / 445.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001956/0.2679, allocations: 2.611 MB / 448.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.2701, allocations: 2.902 MB / 451.3 MB, free: 6.793 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00741/0.2775, allocations: 9.536 MB / 460.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2776, allocations: 0 / 460.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2776, allocations: 0 / 460.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.297e-05/0.2776, allocations: 3.938 kB / 460.8 MB, free: 13.22 MB / 382.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.009562/0.2872, allocations: 6.035 MB / 466.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2873, allocations: 8.031 kB / 466.9 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.2985, allocations: 2.537 MB / 469.4 MB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007095/0.3056, allocations: 3.819 MB / 473.2 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.3058, allocations: 304.3 kB / 473.5 MB, free: 388 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000734/0.3065, allocations: 443.6 kB / 473.9 MB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/0.3272, allocations: 12.41 MB / 486.4 MB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/0.3274, allocations: 51.58 kB / 486.4 MB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008899/0.3283, allocations: 187.9 kB / 486.6 MB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003151/0.3314, allocations: 2.027 MB / 488.6 MB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/0.3518, allocations: 10.57 MB / 499.2 MB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05113/0.403, allocations: 44.13 MB / 0.5306 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/0.4161, allocations: 4.846 MB / 0.5353 GB, free: 3.543 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002821/0.419, allocations: 2.01 MB / 0.5373 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1874/0.6064, allocations: 7.1 MB / 0.5442 GB, free: 127.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.6065, allocations: 55 kB / 0.5443 GB, free: 127.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 3.837e-06/0.6065, allocations: 0 / 0.5443 GB, free: 127.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.06071/0.6672, allocations: 19.62 MB / 0.5634 GB, free: 117 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.6673, allocations: 209.9 kB / 0.5636 GB, free: 116.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004347/0.6716, allocations: 4.461 MB / 0.568 GB, free: 112.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001712/0.6718, allocations: 60.98 kB / 0.568 GB, free: 112.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.6731, allocations: 3.518 MB / 0.5715 GB, free: 108.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005028/0.6736, allocations: 0.836 MB / 0.5723 GB, free: 107.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/0.6748, allocations: 1.341 MB / 0.5736 GB, free: 106.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.322e-05/0.6749, allocations: 301.1 kB / 0.5739 GB, free: 106.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002928/0.6778, allocations: 2.363 MB / 0.5762 GB, free: 103.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00407/0.6819, allocations: 6.171 MB / 0.5822 GB, free: 95.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006684/0.6886, allocations: 9.161 MB / 0.5912 GB, free: 84.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-05/0.6886, allocations: 44 kB / 0.5912 GB, free: 84.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01273/0.7014, allocations: 9.544 MB / 0.6005 GB, free: 75.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.632e-05/0.7014, allocations: 64.97 kB / 0.6006 GB, free: 75.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.172e-05/0.7015, allocations: 132 kB / 0.6007 GB, free: 74.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003613/0.7052, allocations: 1.373 MB / 0.6021 GB, free: 73.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003649/0.7088, allocations: 1.474 MB / 0.6035 GB, free: 72.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009422/0.7183, allocations: 8.478 MB / 0.6118 GB, free: 63.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003832/0.7221, allocations: 351.4 kB / 0.6121 GB, free: 63.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004209/0.7225, allocations: 395.9 kB / 0.6125 GB, free: 62.8 MB / 462.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.003159/0.7257, allocations: 2.49 MB / 0.6149 GB, free: 60.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006202/0.7263, allocations: 398.8 kB / 0.6153 GB, free: 59.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007063/0.7334, allocations: 4.126 MB / 0.6193 GB, free: 55.76 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/0.7334, allocations: 11.95 kB / 0.6193 GB, free: 55.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.7334, allocations: 0 / 0.6193 GB, free: 55.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007048/0.7342, allocations: 451.7 kB / 0.6198 GB, free: 55.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004482/0.7346, allocations: 32 kB / 0.6198 GB, free: 55.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.7361, allocations: 107.9 kB / 0.6199 GB, free: 55.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.7364, allocations: 141.8 kB / 0.62 GB, free: 55 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007505/0.7439, allocations: 4.548 MB / 0.6245 GB, free: 50.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005747/0.7497, allocations: 5.765 MB / 0.6301 GB, free: 44.7 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001494/0.7512, allocations: 1.521 MB / 0.6316 GB, free: 43.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003006/0.7542, allocations: 2.807 MB / 0.6343 GB, free: 40.37 MB / 462.1 MB Notification: Performance of Backend: time 2.21e-07/0.7542, allocations: 0 / 0.6343 GB, free: 40.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007292/0.7615, allocations: 4.752 MB / 0.639 GB, free: 35.66 MB / 462.1 MB Notification: Performance of SimCode: time 0.01261/0.7742, allocations: 10.9 MB / 0.6496 GB, free: 24.7 MB / 462.1 MB Notification: Performance of Templates: time 0.08294/0.8571, allocations: 54.3 MB / 0.7027 GB, free: 2.676 MB / 494.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches