Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 55.91 kB / 365.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1053, allocations: 52.14 MB / 417.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02113/0.1264, allocations: 18.25 MB / 436 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.1403, allocations: 6.091 MB / 442.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003494/0.1438, allocations: 143.6 kB / 442.3 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2239/0.3678, allocations: 6.327 MB / 448.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007415/0.3752, allocations: 2.929 MB / 451.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004773/0.3799, allocations: 2.275 MB / 453.8 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01412/0.3941, allocations: 9.481 MB / 463.3 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008812/0.4029, allocations: 6.897 MB / 470.2 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006401/0.4093, allocations: 3.224 MB / 473.4 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006635/0.4159, allocations: 4.473 MB / 477.9 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002174/0.4181, allocations: 0.7154 MB / 478.6 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004951/0.423, allocations: 1.97 MB / 480.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004853/0.4279, allocations: 3.92 MB / 484.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007714/0.4356, allocations: 4.424 MB / 488.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0191/0.4547, allocations: 13.93 MB / 0.491 GB, free: 13.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.4547, allocations: 0 / 0.491 GB, free: 13.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4547, allocations: 0 / 0.491 GB, free: 13.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004633/0.4552, allocations: 0 / 0.491 GB, free: 13.08 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.02838/0.4836, allocations: 9.656 MB / 0.5005 GB, free: 3.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.4836, allocations: 8.031 kB / 0.5005 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003224/0.4868, allocations: 1.135 MB / 0.5016 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2782/0.765, allocations: 23.28 MB / 0.5243 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02099/0.786, allocations: 8 MB / 0.5321 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005345/0.7865, allocations: 440.3 kB / 0.5326 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002776/0.7893, allocations: 0.5797 MB / 0.5331 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03612/0.8254, allocations: 16.85 MB / 0.5496 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003398/0.8258, allocations: 91.3 kB / 0.5497 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001497/0.8273, allocations: 270.6 kB / 0.5499 GB, free: 180 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004736/0.832, allocations: 2.653 MB / 0.5525 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03208/0.8641, allocations: 14.4 MB / 0.5666 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4825/1.347, allocations: 63.79 MB / 0.6289 GB, free: 149.4 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02313/1.37, allocations: 8.338 MB / 0.637 GB, free: 148.7 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0058/1.376, allocations: 4.562 MB / 0.6415 GB, free: 148.6 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02811/1.404, allocations: 18.12 MB / 0.6592 GB, free: 141.2 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/1.404, allocations: 77.34 kB / 0.6592 GB, free: 141.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=281): time 5.37e-06/1.404, allocations: 0 / 0.6592 GB, free: 141.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=374): time 0.2244/1.628, allocations: 73.08 MB / 0.7306 GB, free: 85.11 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.713e-05/1.628, allocations: 376.6 kB / 0.731 GB, free: 84.66 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008148/1.636, allocations: 6.435 MB / 0.7373 GB, free: 78.32 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/1.637, allocations: 81.7 kB / 0.7373 GB, free: 78.24 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002816/1.64, allocations: 5.024 MB / 0.7422 GB, free: 73.62 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002093/1.642, allocations: 1.438 MB / 0.7436 GB, free: 72.2 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003061/1.645, allocations: 1.843 MB / 0.7454 GB, free: 70.35 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.716e-05/1.645, allocations: 308.2 kB / 0.7457 GB, free: 70.05 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006509/1.652, allocations: 5.659 MB / 0.7513 GB, free: 64.38 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008575/1.661, allocations: 10.61 MB / 0.7616 GB, free: 51.42 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01596/1.676, allocations: 17.36 MB / 0.7786 GB, free: 31.76 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/1.677, allocations: 48 kB / 0.7786 GB, free: 31.71 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03739/1.714, allocations: 21.92 MB / 0.8 GB, free: 9.742 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.329e-05/1.714, allocations: 82.5 kB / 0.8001 GB, free: 9.664 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001404/1.714, allocations: 172 kB / 0.8003 GB, free: 9.496 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01802/1.732, allocations: 6.861 MB / 0.807 GB, free: 2.617 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00665/1.739, allocations: 2.078 MB / 0.809 GB, free: 0.5352 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2611/2, allocations: 36.41 MB / 0.8446 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008154/2.008, allocations: 0.7136 MB / 0.8453 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/2.01, allocations: 0.5101 MB / 0.8458 GB, free: 149.5 MB / 0.5294 GB 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.005567/2.015, allocations: 3.422 MB / 0.8491 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/2.017, allocations: 0.6173 MB / 0.8497 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02729/2.044, allocations: 16.03 MB / 0.8654 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000141/2.044, allocations: 47.06 kB / 0.8654 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.331e-05/2.044, allocations: 19.31 kB / 0.8654 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001086/2.044, allocations: 19.64 kB / 0.8654 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05238/2.097, allocations: 31.23 MB / 0.8959 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.815e-05/2.097, allocations: 7.969 kB / 0.8959 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0031/2.1, allocations: 0.6045 MB / 0.8965 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01639/2.116, allocations: 6.436 MB / 0.9028 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006782/2.117, allocations: 60.5 kB / 0.9029 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03619/2.153, allocations: 34.63 MB / 0.9367 GB, free: 84.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/2.153, allocations: 4 kB / 0.9367 GB, free: 84.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03579/2.189, allocations: 23.5 MB / 0.9596 GB, free: 60.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/2.191, allocations: 0.6615 MB / 0.9603 GB, free: 60.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001924/2.193, allocations: 69.59 kB / 0.9604 GB, free: 60.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004738/2.197, allocations: 431.3 kB / 0.9608 GB, free: 59.69 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/2.199, allocations: 243.5 kB / 0.961 GB, free: 59.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004728/2.199, allocations: 91.98 kB / 0.9611 GB, free: 59.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006143/2.205, allocations: 4.115 MB / 0.9651 GB, free: 55.26 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.205, allocations: 0 / 0.9651 GB, free: 55.26 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009397/2.215, allocations: 2.197 MB / 0.9672 GB, free: 53.07 MB / 0.5294 GB 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.03488/2.25, allocations: 24.29 MB / 0.991 GB, free: 28.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01831/2.268, allocations: 13.66 MB / 1.004 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/2.268, allocations: 4 kB / 1.004 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008829/2.277, allocations: 6.018 MB / 1.01 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006599/2.283, allocations: 0.9492 MB / 1.011 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3745/2.658, allocations: 102.8 MB / 1.111 GB, free: 119.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005527/2.663, allocations: 5.267 MB / 1.117 GB, free: 113.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006675/2.67, allocations: 3.03 MB / 1.12 GB, free: 110.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004734/2.675, allocations: 3.389 MB / 1.123 GB, free: 107.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.664e-06/2.675, allocations: 0 / 1.123 GB, free: 107.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4516/3.126, allocations: 167.7 MB / 1.287 GB, free: 145 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.62/30.75, allocations: 8.562 kB / 1.287 GB, free: 145 MB / 0.545 GB " [Timeout remaining time 629] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 35.8545489879325]