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.001758/0.001758, allocations: 114 kB / 20.43 MB, free: 1.457 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.001604/0.001604, allocations: 213.2 kB / 23.74 MB, free: 4.672 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.485/1.485, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.001995/0.001995, allocations: 67.89 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.283, allocations: 53.4 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02091/0.3039, allocations: 18.15 MB / 449.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.3175, allocations: 6.096 MB / 455.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003488/0.321, allocations: 171.1 kB / 455.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01249/0.3335, allocations: 6.344 MB / 461.9 MB, free: 7.797 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007929/0.3414, allocations: 2.894 MB / 464.8 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0054/0.3468, allocations: 2.3 MB / 467.1 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01419/0.361, allocations: 9.72 MB / 476.9 MB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008542/0.3696, allocations: 6.229 MB / 483.1 MB, free: 2.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005924/0.3755, allocations: 3.257 MB / 486.3 MB, free: 15.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007462/0.3829, allocations: 4.464 MB / 490.8 MB, free: 10.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002318/0.3853, allocations: 0.7187 MB / 491.5 MB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005206/0.3905, allocations: 1.947 MB / 493.5 MB, free: 8.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005577/0.396, allocations: 3.916 MB / 497.4 MB, free: 4.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007498/0.4035, allocations: 4.399 MB / 0.49 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01866/0.4222, allocations: 13.88 MB / 0.5036 GB, free: 1.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4222, allocations: 4 kB / 0.5036 GB, free: 1.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4222, allocations: 0 / 0.5036 GB, free: 1.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004249/0.4226, allocations: 0 / 0.5036 GB, free: 1.84 MB / 414.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.0305/0.4531, allocations: 9.581 MB / 0.5129 GB, free: 8.176 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.2e-05/0.4532, allocations: 12.03 kB / 0.5129 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00321/0.4564, allocations: 1.139 MB / 0.5141 GB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7681/1.225, allocations: 23.26 MB / 0.5368 GB, free: 94.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01875/1.243, allocations: 7.458 MB / 0.5441 GB, free: 92.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/1.244, allocations: 437.5 kB / 0.5445 GB, free: 92.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/1.245, allocations: 0.5827 MB / 0.545 GB, free: 92.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02514/1.27, allocations: 16.87 MB / 0.5615 GB, free: 80.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000227/1.271, allocations: 79.41 kB / 0.5616 GB, free: 80.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006744/1.271, allocations: 265.8 kB / 0.5618 GB, free: 80.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003356/1.275, allocations: 2.661 MB / 0.5644 GB, free: 77.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02581/1.301, allocations: 14.4 MB / 0.5785 GB, free: 63.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07003/1.371, allocations: 63.6 MB / 0.6406 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0227/1.393, allocations: 7.911 MB / 0.6483 GB, free: 6.594 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006204/1.399, allocations: 4.581 MB / 0.6528 GB, free: 2.004 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03254/1.432, allocations: 17.46 MB / 0.6699 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.148e-05/1.432, allocations: 68.5 kB / 0.6699 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 6.662e-06/1.432, allocations: 0 / 0.6699 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of matching and sorting (n=374): time 0.2652/1.697, allocations: 72.95 MB / 0.7412 GB, free: 7.672 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002427/1.698, allocations: 380.6 kB / 0.7415 GB, free: 7.219 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01205/1.71, allocations: 6.424 MB / 0.7478 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001006/1.711, allocations: 85.7 kB / 0.7479 GB, free: 0.707 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.2637/1.974, allocations: 5.016 MB / 0.7528 GB, free: 191.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002386/1.977, allocations: 1.434 MB / 0.7542 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004391/1.981, allocations: 1.849 MB / 0.756 GB, free: 189.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/1.981, allocations: 303 kB / 0.7563 GB, free: 189.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007768/1.989, allocations: 5.663 MB / 0.7618 GB, free: 187.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01081/2, allocations: 10.61 MB / 0.7722 GB, free: 178.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01866/2.018, allocations: 17.35 MB / 0.7891 GB, free: 166.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001648/2.018, allocations: 50.94 kB / 0.7892 GB, free: 166.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.04149/2.06, allocations: 21.92 MB / 0.8106 GB, free: 148.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/2.06, allocations: 76 kB / 0.8107 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000211/2.06, allocations: 175.9 kB / 0.8108 GB, free: 147.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01992/2.08, allocations: 6.856 MB / 0.8175 GB, free: 140.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007585/2.088, allocations: 2.07 MB / 0.8195 GB, free: 138.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04054/2.128, allocations: 36.11 MB / 0.8548 GB, free: 102.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009125/2.137, allocations: 0.7164 MB / 0.8555 GB, free: 101.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001879/2.139, allocations: 0.5116 MB / 0.856 GB, free: 101.2 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.007532/2.147, allocations: 3.426 MB / 0.8593 GB, free: 97.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001815/2.149, allocations: 0.6131 MB / 0.8599 GB, free: 97.24 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02811/2.177, allocations: 16.03 MB / 0.8756 GB, free: 81.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.428e-05/2.177, allocations: 48 kB / 0.8756 GB, free: 81.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.63e-05/2.177, allocations: 16 kB / 0.8757 GB, free: 81.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.177e-05/2.177, allocations: 15.94 kB / 0.8757 GB, free: 81.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05269/2.23, allocations: 31.21 MB / 0.9062 GB, free: 49.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-05/2.23, allocations: 4.062 kB / 0.9062 GB, free: 49.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003247/2.233, allocations: 0.6084 MB / 0.9068 GB, free: 48.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01749/2.25, allocations: 6.428 MB / 0.913 GB, free: 42.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00104/2.252, allocations: 67.98 kB / 0.9131 GB, free: 42.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03866/2.29, allocations: 34.33 MB / 0.9466 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/2.29, allocations: 4 kB / 0.9466 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2835/2.574, allocations: 23.5 MB / 0.9696 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/2.576, allocations: 0.5827 MB / 0.9701 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001873/2.577, allocations: 63.81 kB / 0.9702 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004604/2.582, allocations: 428.9 kB / 0.9706 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/2.583, allocations: 261.9 kB / 0.9709 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003418/2.584, allocations: 90.44 kB / 0.971 GB, free: 169.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005858/2.589, allocations: 4.105 MB / 0.975 GB, free: 168 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/2.589, allocations: 0 / 0.975 GB, free: 168 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008876/2.598, allocations: 2.187 MB / 0.9771 GB, free: 167.8 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.037/2.635, allocations: 24.29 MB / 1.001 GB, free: 152.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01913/2.654, allocations: 13.66 MB / 1.014 GB, free: 139.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/2.654, allocations: 4 kB / 1.014 GB, free: 139.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008794/2.663, allocations: 6.031 MB / 1.02 GB, free: 133.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006135/2.669, allocations: 0.9319 MB / 1.021 GB, free: 132.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1451/2.814, allocations: 102.9 MB / 1.121 GB, free: 21.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005088/2.819, allocations: 5.261 MB / 1.127 GB, free: 16.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005865/2.825, allocations: 3.029 MB / 1.13 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004126/2.829, allocations: 3.389 MB / 1.133 GB, free: 10.06 MB / 0.545 GB Notification: Performance of SimCode: time 1.112e-06/2.829, allocations: 4 kB / 1.133 GB, free: 10.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4495/3.279, allocations: 172.2 MB / 1.301 GB, free: 66.23 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.45/32.73, allocations: 14.97 kB / 1.301 GB, free: 66.22 MB / 0.5607 GB " [Timeout remaining time 627] (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: 35.54209097999774]