Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.0008706/0.0008706, allocations: 87.62 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003696/0.003696, allocations: 162.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.9062/0.9062, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.295e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.1459/0.1459, allocations: 16.05 MB / 314.5 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.1577, allocations: 5.955 MB / 320.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004056/0.1618, allocations: 174.2 kB / 320.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007123/0.1689, allocations: 6.437 MB / 327.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007228/0.1761, allocations: 3.035 MB / 330.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00423/0.1803, allocations: 2.465 MB / 332.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01087/0.1912, allocations: 10.12 MB / 342.7 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007435/0.1986, allocations: 7.27 MB / 350 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007252/0.2059, allocations: 4.971 MB / 354.9 MB, free: 6.055 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005966/0.2119, allocations: 4.677 MB / 359.6 MB, free: 1.367 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001691/0.2135, allocations: 0.7344 MB / 360.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.2166, allocations: 1.888 MB / 362.2 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003219/0.2198, allocations: 4.146 MB / 366.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003263/0.2231, allocations: 2.856 MB / 369.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.2366, allocations: 14.27 MB / 383.5 MB, free: 9.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2366, allocations: 3.938 kB / 383.5 MB, free: 9.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2366, allocations: 8 kB / 383.5 MB, free: 9.395 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004285/0.237, allocations: 0 / 383.5 MB, free: 9.395 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.02336/0.2604, allocations: 9.822 MB / 393.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.2604, allocations: 11.98 kB / 393.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00293/0.2634, allocations: 1.135 MB / 394.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1446/0.408, allocations: 24.1 MB / 418.6 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/0.4221, allocations: 7.508 MB / 426.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.4224, allocations: 431.7 kB / 426.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002247/0.4246, allocations: 0.582 MB / 427.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02806/0.4527, allocations: 17.12 MB / 444.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002296/0.4529, allocations: 79.41 kB / 444.3 MB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00101/0.4539, allocations: 267.8 kB / 444.5 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002658/0.4566, allocations: 2.654 MB / 447.2 MB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0221/0.4787, allocations: 14.38 MB / 461.6 MB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3553/0.834, allocations: 61.35 MB / 0.5107 GB, free: 92.25 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/0.8471, allocations: 8.141 MB / 0.5186 GB, free: 88.46 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003727/0.8509, allocations: 4.585 MB / 0.5231 GB, free: 83.87 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01718/0.868, allocations: 17.2 MB / 0.5399 GB, free: 66.88 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.8681, allocations: 72.48 kB / 0.54 GB, free: 66.8 MB / 426.8 MB Notification: Performance of pre-optimization done (n=281): time 6.052e-06/0.8681, allocations: 0 / 0.54 GB, free: 66.8 MB / 426.8 MB Notification: Performance of matching and sorting (n=374): time 0.1389/1.007, allocations: 75.98 MB / 0.6142 GB, free: 7.34 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/1.007, allocations: 372.6 kB / 0.6145 GB, free: 6.895 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008429/1.016, allocations: 7.647 MB / 0.622 GB, free: 15.45 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001069/1.017, allocations: 81.7 kB / 0.6221 GB, free: 15.36 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002511/1.019, allocations: 5.009 MB / 0.6269 GB, free: 10.63 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001734/1.021, allocations: 1.404 MB / 0.6283 GB, free: 9.242 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002296/1.023, allocations: 1.822 MB / 0.6301 GB, free: 7.406 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/1.023, allocations: 301.1 kB / 0.6304 GB, free: 7.109 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005726/1.029, allocations: 5.668 MB / 0.6359 GB, free: 1.438 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1646/1.194, allocations: 10.82 MB / 0.6465 GB, free: 150.9 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01766/1.211, allocations: 17.36 MB / 0.6634 GB, free: 139 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002709/1.211, allocations: 49.06 kB / 0.6635 GB, free: 139 MB / 458.8 MB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03167/1.243, allocations: 21.93 MB / 0.6849 GB, free: 130 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.92e-05/1.243, allocations: 80 kB / 0.685 GB, free: 129.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/1.243, allocations: 171.9 kB / 0.6851 GB, free: 129.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01172/1.255, allocations: 6.844 MB / 0.6918 GB, free: 123.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005102/1.26, allocations: 2.074 MB / 0.6938 GB, free: 121.4 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02873/1.289, allocations: 35.9 MB / 0.7289 GB, free: 85.36 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007981/1.297, allocations: 0.8593 MB / 0.7297 GB, free: 84.52 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/1.299, allocations: 0.5116 MB / 0.7302 GB, free: 84.01 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 779 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1015): * Single equations (assignments): 1008 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.005507/1.304, allocations: 3.435 MB / 0.7336 GB, free: 80.68 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001609/1.306, allocations: 0.6223 MB / 0.7342 GB, free: 80.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01725/1.323, allocations: 16.02 MB / 0.7498 GB, free: 64.31 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-05/1.323, allocations: 63.86 kB / 0.7499 GB, free: 64.25 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.117e-05/1.323, allocations: 16 kB / 0.7499 GB, free: 64.23 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.998e-05/1.323, allocations: 15.94 kB / 0.7499 GB, free: 64.22 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0367/1.36, allocations: 30.26 MB / 0.7795 GB, free: 33.71 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-05/1.36, allocations: 4 kB / 0.7795 GB, free: 33.71 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/1.362, allocations: 0.6084 MB / 0.7801 GB, free: 33.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0101/1.372, allocations: 6.425 MB / 0.7864 GB, free: 26.66 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009763/1.373, allocations: 60 kB / 0.7864 GB, free: 26.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.205/1.578, allocations: 34.17 MB / 0.8198 GB, free: 138.4 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.578, allocations: 2.312 kB / 0.8198 GB, free: 138.4 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02634/1.604, allocations: 23.5 MB / 0.8427 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004536/1.609, allocations: 1.724 MB / 0.8444 GB, free: 128.9 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001978/1.611, allocations: 63.81 kB / 0.8445 GB, free: 128.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004025/1.615, allocations: 0.5489 MB / 0.845 GB, free: 128.5 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/1.616, allocations: 269.4 kB / 0.8453 GB, free: 128.4 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002795/1.616, allocations: 99.12 kB / 0.8454 GB, free: 128.3 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006538/1.623, allocations: 4.823 MB / 0.8501 GB, free: 123.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 4e-08/1.623, allocations: 0 / 0.8501 GB, free: 123.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01223/1.635, allocations: 2.55 MB / 0.8526 GB, free: 121.2 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0249/1.66, allocations: 24.31 MB / 0.8763 GB, free: 96.95 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0159/1.676, allocations: 13.65 MB / 0.8896 GB, free: 83.33 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.676, allocations: 3.5 kB / 0.8896 GB, free: 83.33 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006001/1.682, allocations: 6.026 MB / 0.8955 GB, free: 77.27 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004719/1.686, allocations: 0.9478 MB / 0.8965 GB, free: 76.38 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3062/1.993, allocations: 106.3 MB / 1 GB, free: 121.2 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005788/1.999, allocations: 4.812 MB / 1.005 GB, free: 119.9 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005756/2.004, allocations: 3.064 MB / 1.008 GB, free: 119.8 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00455/2.009, allocations: 3.434 MB / 1.011 GB, free: 117 MB / 458.8 MB Notification: Performance of SimCode: time 2.294e-06/2.009, allocations: 0 / 1.011 GB, free: 117 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3537/2.362, allocations: 175.2 MB / 1.182 GB, free: 126.3 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/17.22, allocations: 8.938 kB / 1.182 GB, free: 126.3 MB / 474.8 MB " [Timeout remaining time 643] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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: 19.159137714654207]