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.0008337/0.0008337, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.005741/0.005741, allocations: 166 kB / 24.7 MB, free: 8.887 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.8894/0.8894, 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.483e-06/1.483e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.417e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.1379/0.1379, allocations: 16.07 MB / 314.5 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.1488, allocations: 5.951 MB / 320.5 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.1511, allocations: 174.9 kB / 320.6 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005497/0.1566, allocations: 6.431 MB / 327.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004443/0.161, allocations: 3.043 MB / 330.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.1637, allocations: 2.461 MB / 332.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008344/0.172, allocations: 10.12 MB / 342.7 MB, free: 2.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007081/0.1791, allocations: 7.257 MB / 349.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004388/0.1835, allocations: 4.979 MB / 354.9 MB, free: 6.043 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003564/0.1871, allocations: 4.677 MB / 359.6 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006101/0.1877, allocations: 0.7383 MB / 360.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.1895, allocations: 1.877 MB / 362.2 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002276/0.1918, allocations: 4.15 MB / 366.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001988/0.1938, allocations: 2.86 MB / 369.2 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009014/0.2028, allocations: 14.27 MB / 383.5 MB, free: 9.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2028, allocations: 0 / 383.5 MB, free: 9.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2028, allocations: 0 / 383.5 MB, free: 9.398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001911/0.203, allocations: 3.938 kB / 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.01344/0.2165, allocations: 9.822 MB / 393.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2165, allocations: 15.98 kB / 393.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009411/0.2174, allocations: 1.14 MB / 394.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1445/0.362, allocations: 24.09 MB / 418.6 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01995/0.3819, allocations: 7.511 MB / 426.1 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.3821, allocations: 431.7 kB / 426.5 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/0.3833, allocations: 0.5859 MB / 427.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.4023, allocations: 17.12 MB / 444.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001329/0.4024, allocations: 83.41 kB / 444.3 MB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004559/0.4028, allocations: 271.8 kB / 444.6 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00246/0.4053, allocations: 2.65 MB / 447.2 MB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01931/0.4246, allocations: 14.37 MB / 461.6 MB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3251/0.7497, allocations: 61.34 MB / 0.5107 GB, free: 92.27 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.7609, allocations: 8.143 MB / 0.5186 GB, free: 88.45 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/0.7637, allocations: 4.594 MB / 0.5231 GB, free: 83.85 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01427/0.778, allocations: 17.19 MB / 0.5399 GB, free: 66.86 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.7781, allocations: 72.44 kB / 0.54 GB, free: 66.78 MB / 426.8 MB Notification: Performance of pre-optimization done (n=281): time 4.538e-06/0.7781, allocations: 0 / 0.54 GB, free: 66.78 MB / 426.8 MB Notification: Performance of matching and sorting (n=374): time 0.1386/0.9167, allocations: 75.97 MB / 0.6141 GB, free: 7.332 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003131/0.917, allocations: 375.1 kB / 0.6145 GB, free: 6.887 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009322/0.9263, allocations: 7.65 MB / 0.622 GB, free: 15.44 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001073/0.9274, allocations: 85.69 kB / 0.6221 GB, free: 15.35 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003077/0.9305, allocations: 4.998 MB / 0.6269 GB, free: 10.62 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002026/0.9325, allocations: 1.41 MB / 0.6283 GB, free: 9.23 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002737/0.9352, allocations: 1.82 MB / 0.6301 GB, free: 7.398 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.9353, allocations: 305.1 kB / 0.6304 GB, free: 7.098 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00557/0.9409, allocations: 5.663 MB / 0.6359 GB, free: 1.426 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1616/1.102, allocations: 10.82 MB / 0.6465 GB, free: 150.9 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01588/1.118, allocations: 17.37 MB / 0.6634 GB, free: 139 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002286/1.119, allocations: 48.12 kB / 0.6635 GB, free: 139 MB / 458.8 MB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03116/1.15, allocations: 21.93 MB / 0.6849 GB, free: 130.1 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.846e-05/1.15, allocations: 80 kB / 0.685 GB, free: 130 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/1.15, allocations: 171.9 kB / 0.6851 GB, free: 129.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/1.161, allocations: 6.851 MB / 0.6918 GB, free: 123.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004397/1.165, allocations: 2.074 MB / 0.6939 GB, free: 121.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02775/1.193, allocations: 35.89 MB / 0.7289 GB, free: 85.34 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007521/1.201, allocations: 0.8556 MB / 0.7297 GB, free: 84.51 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001646/1.202, allocations: 0.5116 MB / 0.7302 GB, free: 84 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.005145/1.207, allocations: 3.433 MB / 0.7336 GB, free: 80.66 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001942/1.209, allocations: 0.6247 MB / 0.7342 GB, free: 80.39 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/1.226, allocations: 16.02 MB / 0.7499 GB, free: 64.3 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.221e-05/1.226, allocations: 55.92 kB / 0.7499 GB, free: 64.24 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.635e-05/1.227, allocations: 20 kB / 0.7499 GB, free: 64.22 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.741e-05/1.227, allocations: 15.94 kB / 0.7499 GB, free: 64.21 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03523/1.262, allocations: 30.26 MB / 0.7795 GB, free: 33.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/1.262, allocations: 4 kB / 0.7795 GB, free: 33.7 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/1.264, allocations: 0.6084 MB / 0.7801 GB, free: 33.09 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01029/1.274, allocations: 6.429 MB / 0.7864 GB, free: 26.64 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007218/1.275, allocations: 64 kB / 0.7864 GB, free: 26.58 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1829/1.458, allocations: 34.16 MB / 0.8198 GB, free: 138.5 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.458, allocations: 4.125 kB / 0.8198 GB, free: 138.5 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/1.483, allocations: 23.5 MB / 0.8427 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004428/1.487, allocations: 1.726 MB / 0.8444 GB, free: 128.9 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001618/1.489, allocations: 67.78 kB / 0.8445 GB, free: 128.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003869/1.493, allocations: 0.5467 MB / 0.845 GB, free: 128.6 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008869/1.493, allocations: 265.7 kB / 0.8453 GB, free: 128.4 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002314/1.494, allocations: 99.58 kB / 0.8454 GB, free: 128.3 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005939/1.5, allocations: 4.824 MB / 0.8501 GB, free: 123.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 4e-08/1.5, allocations: 0 / 0.8501 GB, free: 123.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008693/1.508, allocations: 2.554 MB / 0.8526 GB, free: 121.1 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.02311/1.531, allocations: 24.31 MB / 0.8763 GB, free: 96.92 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01478/1.546, allocations: 13.65 MB / 0.8896 GB, free: 83.3 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/1.546, allocations: 0 / 0.8896 GB, free: 83.3 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006327/1.553, allocations: 6.023 MB / 0.8955 GB, free: 77.24 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005032/1.558, allocations: 0.9574 MB / 0.8965 GB, free: 76.33 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2626/1.82, allocations: 106.3 MB / 1 GB, free: 120.9 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005461/1.826, allocations: 4.812 MB / 1.005 GB, free: 119.6 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005169/1.831, allocations: 3.062 MB / 1.008 GB, free: 119.5 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004089/1.835, allocations: 3.433 MB / 1.011 GB, free: 116.7 MB / 458.8 MB Notification: Performance of SimCode: time 1.563e-06/1.835, allocations: 3 kB / 1.011 GB, free: 116.7 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3169/2.152, allocations: 175.3 MB / 1.182 GB, free: 126.2 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/15.87, allocations: 7.234 kB / 1.182 GB, free: 126.2 MB / 474.8 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 18.4142186595127]