Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 177.9 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.6 MB / 223.7 MB, free: 8.961 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007761/0.0007761, allocations: 98.36 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.000237, allocations: 12 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2567, allocations: 47.58 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.03744/0.2942, allocations: 50.44 MB / 427.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02975/0.3239, allocations: 14.95 MB / 442 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01283/0.3368, allocations: 243.4 kB / 442.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.339, allocations: 0.4897 MB / 442.7 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00633/0.3453, allocations: 2.024 MB / 444.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.3481, allocations: 1.014 MB / 445.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01031/0.3584, allocations: 8.228 MB / 454 MB, free: 2.145 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/0.3706, allocations: 8.936 MB / 462.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00384/0.3745, allocations: 1.693 MB / 464.6 MB, free: 7.027 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005187/0.3797, allocations: 2.542 MB / 467.2 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001662/0.3814, allocations: 188 kB / 467.4 MB, free: 4.293 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003891/0.3853, allocations: 1.373 MB / 468.7 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003222/0.3886, allocations: 2.205 MB / 470.9 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003524/0.3921, allocations: 2.49 MB / 473.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.4031, allocations: 8.903 MB / 482.3 MB, free: 5.262 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4032, allocations: 0 / 482.3 MB, free: 5.262 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4032, allocations: 0 / 482.3 MB, free: 5.262 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003009/0.4035, allocations: 0 / 482.3 MB, free: 5.262 MB / 362.7 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.01104/0.4146, allocations: 4.929 MB / 487.3 MB, free: 264 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4146, allocations: 8.031 kB / 487.3 MB, free: 256 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.4254, allocations: 2.599 MB / 489.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008277/0.4337, allocations: 3.847 MB / 493.7 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.434, allocations: 312 kB / 494 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/0.4353, allocations: 431.7 kB / 494.4 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2543/0.6896, allocations: 12.4 MB / 0.4949 GB, free: 105.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001982/0.6898, allocations: 52.06 kB / 0.495 GB, free: 105.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005627/0.6904, allocations: 190.9 kB / 0.4952 GB, free: 105.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003592/0.694, allocations: 2.03 MB / 0.4972 GB, free: 105.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/0.7158, allocations: 10.55 MB / 0.5075 GB, free: 100.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0496/0.7654, allocations: 44.38 MB / 0.5508 GB, free: 56.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.7765, allocations: 4.874 MB / 0.5556 GB, free: 51.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002253/0.7788, allocations: 2.009 MB / 0.5575 GB, free: 49.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00947/0.7883, allocations: 7.106 MB / 0.5645 GB, free: 42.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.7884, allocations: 51.56 kB / 0.5645 GB, free: 42.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=179): time 3.998e-06/0.7884, allocations: 3.938 kB / 0.5645 GB, free: 42.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.05602/0.8444, allocations: 19.74 MB / 0.5838 GB, free: 22.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.8445, allocations: 205.9 kB / 0.584 GB, free: 22.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005275/0.8498, allocations: 4.453 MB / 0.5883 GB, free: 17.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004211/0.8502, allocations: 65.61 kB / 0.5884 GB, free: 17.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00174/0.852, allocations: 3.515 MB / 0.5918 GB, free: 14.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007579/0.8528, allocations: 0.8413 MB / 0.5927 GB, free: 13.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.853, allocations: 132 kB / 0.5928 GB, free: 13.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002758/0.8533, allocations: 0.5836 MB / 0.5934 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/0.8561, allocations: 2.34 MB / 0.5956 GB, free: 10.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004199/0.8604, allocations: 6.136 MB / 0.6016 GB, free: 2.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/0.8716, allocations: 9.139 MB / 0.6106 GB, free: 7.148 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/0.8718, allocations: 39.94 kB / 0.6106 GB, free: 7.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01978/0.8916, allocations: 9.501 MB / 0.6199 GB, free: 13.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.8918, allocations: 60 kB / 0.6199 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002334/0.892, allocations: 132.2 kB / 0.6201 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004258/0.8963, allocations: 1.375 MB / 0.6214 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00505/0.9014, allocations: 1.478 MB / 0.6228 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/0.9136, allocations: 7.956 MB / 0.6306 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005831/0.9194, allocations: 359.4 kB / 0.631 GB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/0.9207, allocations: 391.9 kB / 0.6313 GB, free: 1.734 MB / 410.7 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.005671/0.9264, allocations: 2.494 MB / 0.6338 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/0.9275, allocations: 398.8 kB / 0.6341 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009321/0.9369, allocations: 4.122 MB / 0.6382 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.554e-05/0.9369, allocations: 24 kB / 0.6382 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.678e-05/0.937, allocations: 8 kB / 0.6382 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.959e-05/0.937, allocations: 7.969 kB / 0.6382 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02735/0.9644, allocations: 10.34 MB / 0.6483 GB, free: 196 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-05/0.9644, allocations: 4 kB / 0.6483 GB, free: 192 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2173/1.182, allocations: 343.7 kB / 0.6486 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003616/1.185, allocations: 1.148 MB / 0.6498 GB, free: 137.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002816/1.186, allocations: 46.42 kB / 0.6498 GB, free: 137.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008874/1.195, allocations: 6.663 MB / 0.6563 GB, free: 135.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.195, allocations: 6.906 kB / 0.6563 GB, free: 135.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.205, allocations: 6.894 MB / 0.663 GB, free: 132.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/1.207, allocations: 0.7373 MB / 0.6638 GB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004272/1.208, allocations: 45.3 kB / 0.6638 GB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.209, allocations: 116 kB / 0.6639 GB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004092/1.209, allocations: 141.9 kB / 0.6641 GB, free: 132.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.21, allocations: 64.09 kB / 0.6641 GB, free: 132.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005287/1.215, allocations: 2.782 MB / 0.6668 GB, free: 131.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.215, allocations: 3.656 kB / 0.6668 GB, free: 131.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009215/1.224, allocations: 1.218 MB / 0.668 GB, free: 131.3 MB / 426.7 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.0007679/1.225, allocations: 234.8 kB / 0.6683 GB, free: 131.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008277/1.233, allocations: 5.71 MB / 0.6738 GB, free: 129.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.233, allocations: 3.906 kB / 0.6738 GB, free: 129.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002108/1.235, allocations: 1.862 MB / 0.6757 GB, free: 128.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005438/1.241, allocations: 0.5123 MB / 0.6762 GB, free: 128.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/1.259, allocations: 13.68 MB / 0.6895 GB, free: 115.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003206/1.262, allocations: 3.883 MB / 0.6933 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004192/1.266, allocations: 1.922 MB / 0.6952 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/1.267, allocations: 275.4 kB / 0.6954 GB, free: 109.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/1.267, allocations: 0 / 0.6954 GB, free: 109.7 MB / 426.7 MB Notification: Performance of Templates: time 0.06691/1.334, allocations: 43.59 MB / 0.738 GB, free: 66.23 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches