Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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 3.2.3+maint.om/package.mo", uses=false) 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.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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 102.2 kB / 18.4 MB, free: 4.656 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.001356/0.001356, allocations: 188.3 kB / 19.34 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 51.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06964/0.07081, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.1531/0.224, allocations: 15.07 MB / 390.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008612/0.2326, allocations: 4.821 MB / 395.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003242/0.2359, allocations: 91.72 kB / 395.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005255/0.2412, allocations: 3.165 MB / 399 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005985/0.2472, allocations: 2.561 MB / 401.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.2492, allocations: 0.9917 MB / 402.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008151/0.2574, allocations: 6.639 MB / 409.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004309/0.2617, allocations: 4.351 MB / 413.5 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.2645, allocations: 2.241 MB / 415.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003505/0.268, allocations: 3.24 MB / 419 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007384/0.2687, allocations: 484 kB / 419.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.2712, allocations: 1.494 MB / 421 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.2733, allocations: 2.864 MB / 423.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002563/0.2758, allocations: 3.258 MB / 427.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008064/0.2839, allocations: 10.44 MB / 437.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2839, allocations: 0 / 437.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2839, allocations: 0 / 437.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000115/0.2841, allocations: 0 / 437.5 MB, free: 1.695 MB / 350.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.01187/0.2959, allocations: 7.295 MB / 444.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.296, allocations: 8.031 kB / 444.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01518/0.3112, allocations: 3.943 MB / 448.8 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007376/0.3186, allocations: 4.267 MB / 453 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.3188, allocations: 316.6 kB / 453.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007547/0.3195, allocations: 439.5 kB / 453.8 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02054/0.3401, allocations: 15.72 MB / 469.5 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.3402, allocations: 59.45 kB / 469.6 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005356/0.3408, allocations: 207.8 kB / 469.8 MB, free: 380 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004575/0.3454, allocations: 3.212 MB / 473 MB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02213/0.3675, allocations: 14.12 MB / 487.1 MB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06088/0.4284, allocations: 57.49 MB / 0.5318 GB, free: 3.941 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01295/0.4414, allocations: 6.577 MB / 0.5382 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00424/0.4456, allocations: 3.688 MB / 0.5418 GB, free: 9.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.18/0.6256, allocations: 14.63 MB / 0.5561 GB, free: 144.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.6257, allocations: 65.88 kB / 0.5562 GB, free: 144.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=289): time 5.871e-06/0.6257, allocations: 1.125 kB / 0.5562 GB, free: 144.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=339): time 0.1393/0.765, allocations: 42.39 MB / 0.5976 GB, free: 126.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.7651, allocations: 221.9 kB / 0.5978 GB, free: 126.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005482/0.7706, allocations: 5.494 MB / 0.6032 GB, free: 121.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003987/0.771, allocations: 73.64 kB / 0.6032 GB, free: 121.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.7725, allocations: 4.353 MB / 0.6075 GB, free: 116.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007856/0.7733, allocations: 1.265 MB / 0.6087 GB, free: 115.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002054/0.7753, allocations: 1.844 MB / 0.6105 GB, free: 113.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.236e-05/0.7754, allocations: 309.1 kB / 0.6108 GB, free: 113.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00502/0.7804, allocations: 4.808 MB / 0.6155 GB, free: 108.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006333/0.7867, allocations: 9.808 MB / 0.6251 GB, free: 96.29 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/0.7993, allocations: 15.57 MB / 0.6403 GB, free: 78.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.711e-05/0.7994, allocations: 52 kB / 0.6403 GB, free: 78.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.03687/0.8363, allocations: 19.56 MB / 0.6594 GB, free: 58.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.8364, allocations: 80 kB / 0.6595 GB, free: 58.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/0.8365, allocations: 172 kB / 0.6597 GB, free: 58.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02215/0.8587, allocations: 5.941 MB / 0.6655 GB, free: 52.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006076/0.8647, allocations: 2.113 MB / 0.6675 GB, free: 50.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02723/0.892, allocations: 26.15 MB / 0.6931 GB, free: 23.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006254/0.8983, allocations: 0.5578 MB / 0.6936 GB, free: 23.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005984/0.8989, allocations: 0.5156 MB / 0.6941 GB, free: 22.77 MB / 478.1 MB 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 (1098): * Single equations (assignments): 1090 * 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.003504/0.9024, allocations: 3.106 MB / 0.6972 GB, free: 19.65 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006738/0.9031, allocations: 497.5 kB / 0.6976 GB, free: 19.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02902/0.9321, allocations: 12.93 MB / 0.7103 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.402e-05/0.9321, allocations: 15.94 kB / 0.7103 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.9321, allocations: 4 kB / 0.7103 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/0.9342, allocations: 1.299 MB / 0.7116 GB, free: 4.816 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006889/0.9349, allocations: 55.81 kB / 0.7116 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002815/0.9377, allocations: 259.5 kB / 0.7119 GB, free: 4.512 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005583/0.9383, allocations: 198.5 kB / 0.712 GB, free: 4.316 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02017/0.9585, allocations: 10.47 MB / 0.7223 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1728/1.131, allocations: 12.85 MB / 0.7348 GB, free: 145.6 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00458/1.136, allocations: 3.632 MB / 0.7384 GB, free: 144.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005336/1.141, allocations: 3.421 MB / 0.7417 GB, free: 143.2 MB / 494.1 MB Notification: Performance of Backend: time 4.21e-07/1.141, allocations: 1.312 kB / 0.7417 GB, free: 143.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01314/1.154, allocations: 7.958 MB / 0.7495 GB, free: 140.2 MB / 494.1 MB Notification: Performance of SimCode: time 0.01589/1.17, allocations: 13.42 MB / 0.7626 GB, free: 134.5 MB / 494.1 MB Notification: Performance of Templates: time 0.1053/1.276, allocations: 88.37 MB / 0.8489 GB, free: 59.41 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches