Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001549/0.001549, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.4 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1177, allocations: 53.39 MB / 426.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02054/0.1383, allocations: 18.1 MB / 444.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2392/0.3775, allocations: 6.068 MB / 450.5 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004064/0.3815, allocations: 169 kB / 450.7 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01104/0.3926, allocations: 6.314 MB / 457 MB, free: 7.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008072/0.4006, allocations: 2.885 MB / 459.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005204/0.4058, allocations: 2.281 MB / 462.2 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01393/0.4198, allocations: 9.699 MB / 471.9 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.4303, allocations: 6.9 MB / 478.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008253/0.4386, allocations: 3.245 MB / 482 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009128/0.4477, allocations: 4.478 MB / 486.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003345/0.451, allocations: 0.7134 MB / 487.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0061/0.4571, allocations: 1.948 MB / 489.2 MB, free: 8.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007511/0.4647, allocations: 3.908 MB / 493.1 MB, free: 5.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01047/0.4751, allocations: 4.396 MB / 497.5 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0221/0.4972, allocations: 13.88 MB / 0.4994 GB, free: 3.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4972, allocations: 0 / 0.4994 GB, free: 3.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4972, allocations: 0 / 0.4994 GB, free: 3.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005569/0.4978, allocations: 0 / 0.4994 GB, free: 3.004 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.0335/0.5313, allocations: 9.657 MB / 0.5088 GB, free: 9.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.5313, allocations: 12.03 kB / 0.5088 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004115/0.5355, allocations: 1.136 MB / 0.5099 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3437/0.8791, allocations: 23.27 MB / 0.5326 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0206/0.8997, allocations: 7.577 MB / 0.54 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004402/0.9002, allocations: 439.2 kB / 0.5405 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002666/0.9028, allocations: 0.5801 MB / 0.541 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03772/0.9406, allocations: 16.86 MB / 0.5575 GB, free: 6.801 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003278/0.9409, allocations: 79.41 kB / 0.5576 GB, free: 6.723 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001621/0.9425, allocations: 269 kB / 0.5578 GB, free: 6.504 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005053/0.9476, allocations: 2.652 MB / 0.5604 GB, free: 3.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03451/0.9821, allocations: 14.39 MB / 0.5745 GB, free: 5.461 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09502/1.077, allocations: 63.8 MB / 0.6368 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.455/1.532, allocations: 8.343 MB / 0.6449 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006654/1.539, allocations: 4.558 MB / 0.6494 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03128/1.57, allocations: 18.12 MB / 0.6671 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.384e-05/1.57, allocations: 67.28 kB / 0.6671 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=281): time 5.66e-06/1.57, allocations: 0 / 0.6671 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=374): time 0.263/1.833, allocations: 73.08 MB / 0.7385 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/1.833, allocations: 380.5 kB / 0.7389 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008886/1.842, allocations: 6.434 MB / 0.7451 GB, free: 98.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001055/1.843, allocations: 77.7 kB / 0.7452 GB, free: 98.06 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002697/1.846, allocations: 5.021 MB / 0.7501 GB, free: 93.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001882/1.848, allocations: 1.432 MB / 0.7515 GB, free: 92.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00323/1.851, allocations: 1.849 MB / 0.7533 GB, free: 90.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.504e-05/1.851, allocations: 301.1 kB / 0.7536 GB, free: 89.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006585/1.858, allocations: 5.659 MB / 0.7591 GB, free: 84.22 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008655/1.866, allocations: 10.61 MB / 0.7695 GB, free: 71.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01664/1.883, allocations: 17.36 MB / 0.7865 GB, free: 51.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001322/1.883, allocations: 48 kB / 0.7865 GB, free: 51.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.0568/1.94, allocations: 21.93 MB / 0.8079 GB, free: 29.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000217/1.94, allocations: 76 kB / 0.808 GB, free: 29.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000219/1.94, allocations: 172 kB / 0.8082 GB, free: 29.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02124/1.962, allocations: 6.854 MB / 0.8148 GB, free: 22.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007503/1.969, allocations: 2.078 MB / 0.8169 GB, free: 20.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2821/2.251, allocations: 36.41 MB / 0.8524 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00899/2.26, allocations: 0.7251 MB / 0.8531 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002087/2.262, allocations: 0.5041 MB / 0.8536 GB, free: 159.7 MB / 0.545 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.008029/2.27, allocations: 3.425 MB / 0.857 GB, free: 158.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002048/2.272, allocations: 0.6113 MB / 0.8576 GB, free: 158.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03637/2.309, allocations: 16.03 MB / 0.8732 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.772e-05/2.309, allocations: 50.77 kB / 0.8733 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.389e-05/2.309, allocations: 16.22 kB / 0.8733 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.432e-05/2.309, allocations: 20.41 kB / 0.8733 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05687/2.366, allocations: 31.22 MB / 0.9038 GB, free: 139.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-05/2.366, allocations: 3.938 kB / 0.9038 GB, free: 139.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003457/2.369, allocations: 0.6031 MB / 0.9044 GB, free: 139.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01912/2.388, allocations: 6.443 MB / 0.9107 GB, free: 136.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009439/2.389, allocations: 65.84 kB / 0.9107 GB, free: 136.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03878/2.428, allocations: 34.62 MB / 0.9446 GB, free: 101.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.428, allocations: 4 kB / 0.9446 GB, free: 101.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03644/2.465, allocations: 23.51 MB / 0.9675 GB, free: 78.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/2.467, allocations: 0.6607 MB / 0.9682 GB, free: 78.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002249/2.469, allocations: 63.98 kB / 0.9682 GB, free: 77.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005746/2.475, allocations: 430.7 kB / 0.9686 GB, free: 77.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001884/2.476, allocations: 242.7 kB / 0.9689 GB, free: 77.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008798/2.477, allocations: 100.3 kB / 0.969 GB, free: 77.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007791/2.485, allocations: 4.107 MB / 0.973 GB, free: 73.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/2.485, allocations: 3.938 kB / 0.973 GB, free: 73.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01166/2.497, allocations: 2.182 MB / 0.9751 GB, free: 70.96 MB / 0.545 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.04209/2.539, allocations: 24.27 MB / 0.9988 GB, free: 46.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0211/2.56, allocations: 13.66 MB / 1.012 GB, free: 33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/2.56, allocations: 8 kB / 1.012 GB, free: 33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009897/2.57, allocations: 6.023 MB / 1.018 GB, free: 26.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009485/2.579, allocations: 0.9326 MB / 1.019 GB, free: 26.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4142/2.994, allocations: 102.7 MB / 1.119 GB, free: 136.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005633/2.999, allocations: 5.265 MB / 1.124 GB, free: 131.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006364/3.006, allocations: 3.026 MB / 1.127 GB, free: 128.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00443/3.01, allocations: 3.393 MB / 1.131 GB, free: 125 MB / 0.5607 GB Notification: Performance of SimCode: time 1.172e-06/3.01, allocations: 4 kB / 1.131 GB, free: 125 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4984/3.508, allocations: 167.7 MB / 1.295 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.83/30.34, allocations: 7.875 kB / 1.295 GB, free: 172.9 MB / 0.5763 GB " [Timeout remaining time 629] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 33.258312590071]