Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009323/0.0009323, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008462/0.0008462, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8958/0.8958, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.423e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01167/0.01168, allocations: 15.62 MB / 340.2 MB, free: 260 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009987/0.02167, allocations: 5.864 MB / 346.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00353/0.0252, allocations: 171.1 kB / 346.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006059/0.03126, allocations: 6.394 MB / 352.6 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004978/0.03623, allocations: 2.998 MB / 355.6 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.03921, allocations: 2.444 MB / 358.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008391/0.0476, allocations: 11.13 MB / 369.2 MB, free: 3.188 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006976/0.05457, allocations: 7.23 MB / 376.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005512/0.06009, allocations: 4.94 MB / 381.4 MB, free: 6.906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004461/0.06455, allocations: 4.653 MB / 386 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.06556, allocations: 0.7383 MB / 386.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.06798, allocations: 1.873 MB / 388.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00248/0.07046, allocations: 4.095 MB / 392.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.073, allocations: 2.832 MB / 395.5 MB, free: 8.684 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.08336, allocations: 14.16 MB / 409.7 MB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.08336, allocations: 4 kB / 409.7 MB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.08336, allocations: 4 kB / 409.7 MB, free: 10.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001929/0.08356, allocations: 0 / 409.7 MB, free: 10.47 MB / 378.7 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.01738/0.1009, allocations: 9.763 MB / 419.5 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.101, allocations: 16.02 kB / 419.5 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001229/0.1022, allocations: 1.143 MB / 420.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1408/0.243, allocations: 24.08 MB / 444.7 MB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/0.2555, allocations: 6.808 MB / 451.5 MB, free: 468 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/0.2558, allocations: 435.7 kB / 451.9 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2546/0.5103, allocations: 0.5737 MB / 452.5 MB, free: 110.3 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/0.527, allocations: 17.1 MB / 469.6 MB, free: 99.14 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.5271, allocations: 87.02 kB / 469.7 MB, free: 99.07 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000429/0.5276, allocations: 269.4 kB / 470 MB, free: 98.85 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002082/0.5296, allocations: 2.653 MB / 472.6 MB, free: 96.21 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.5441, allocations: 14.38 MB / 487 MB, free: 81.84 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04144/0.5855, allocations: 60.98 MB / 0.5351 GB, free: 20.46 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/0.5972, allocations: 8.137 MB / 0.5431 GB, free: 12.33 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/0.6002, allocations: 4.593 MB / 0.5476 GB, free: 7.746 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01635/0.6165, allocations: 17.07 MB / 0.5643 GB, free: 6.789 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.6165, allocations: 72.5 kB / 0.5643 GB, free: 6.711 MB / 426.8 MB Notification: Performance of pre-optimization done (n=281): time 4.579e-06/0.6165, allocations: 4 kB / 0.5643 GB, free: 6.707 MB / 426.8 MB Notification: Performance of matching and sorting (n=374): time 0.3163/0.9329, allocations: 75.54 MB / 0.6381 GB, free: 154.2 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.9329, allocations: 378.9 kB / 0.6385 GB, free: 153.8 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006089/0.939, allocations: 7.426 MB / 0.6457 GB, free: 151.2 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004172/0.9394, allocations: 81.36 kB / 0.6458 GB, free: 151.1 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001515/0.941, allocations: 4.987 MB / 0.6507 GB, free: 147.4 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008411/0.9418, allocations: 1.409 MB / 0.652 GB, free: 146.1 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00157/0.9434, allocations: 1.831 MB / 0.6538 GB, free: 144.4 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 2.938e-05/0.9434, allocations: 305.1 kB / 0.6541 GB, free: 144.1 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004076/0.9475, allocations: 5.659 MB / 0.6596 GB, free: 138.4 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005284/0.9528, allocations: 10.82 MB / 0.6702 GB, free: 125.1 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/0.9631, allocations: 17.36 MB / 0.6872 GB, free: 105.5 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.086e-05/0.9631, allocations: 52 kB / 0.6872 GB, free: 105.4 MB / 474.8 MB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.02123/0.9844, allocations: 21.92 MB / 0.7086 GB, free: 83.48 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/0.9844, allocations: 80 kB / 0.7087 GB, free: 83.41 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-05/0.9845, allocations: 172.8 kB / 0.7089 GB, free: 83.24 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/0.9947, allocations: 6.85 MB / 0.7155 GB, free: 76.37 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/0.9982, allocations: 2.074 MB / 0.7176 GB, free: 74.29 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02588/1.024, allocations: 35.91 MB / 0.7526 GB, free: 38.05 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006005/1.03, allocations: 0.8386 MB / 0.7535 GB, free: 37.21 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00047/1.031, allocations: 0.5077 MB / 0.7539 GB, free: 36.7 MB / 474.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.003602/1.034, allocations: 3.42 MB / 0.7573 GB, free: 33.27 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007019/1.035, allocations: 0.6093 MB / 0.7579 GB, free: 32.66 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/1.051, allocations: 16.04 MB / 0.7735 GB, free: 16.56 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/1.051, allocations: 51.94 kB / 0.7736 GB, free: 16.51 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/1.051, allocations: 16 kB / 0.7736 GB, free: 16.49 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/1.051, allocations: 15.94 kB / 0.7736 GB, free: 16.48 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2032/1.254, allocations: 30.17 MB / 0.8031 GB, free: 141.6 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/1.254, allocations: 3.625 kB / 0.8031 GB, free: 141.6 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.256, allocations: 0.611 MB / 0.8037 GB, free: 141.5 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009664/1.265, allocations: 6.428 MB / 0.81 GB, free: 140.4 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002895/1.266, allocations: 70.41 kB / 0.81 GB, free: 140.4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02537/1.291, allocations: 34.15 MB / 0.8434 GB, free: 112.8 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.291, allocations: 7.938 kB / 0.8434 GB, free: 112.7 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02167/1.313, allocations: 23.5 MB / 0.8663 GB, free: 89.54 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002295/1.315, allocations: 0.6954 MB / 0.867 GB, free: 89.19 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007767/1.316, allocations: 62.58 kB / 0.8671 GB, free: 89.13 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002597/1.318, allocations: 0.5303 MB / 0.8676 GB, free: 88.61 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007929/1.319, allocations: 262.5 kB / 0.8679 GB, free: 88.35 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/1.319, allocations: 91.98 kB / 0.8679 GB, free: 88.26 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004772/1.324, allocations: 4.665 MB / 0.8725 GB, free: 83.6 MB / 474.8 MB Notification: Performance of sort global known variables: time 4e-08/1.324, allocations: 0 / 0.8725 GB, free: 83.6 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007867/1.332, allocations: 2.524 MB / 0.875 GB, free: 81.09 MB / 474.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.02186/1.354, allocations: 24.29 MB / 0.8987 GB, free: 57.11 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01386/1.368, allocations: 13.65 MB / 0.912 GB, free: 43.52 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.368, allocations: 7.938 kB / 0.912 GB, free: 43.51 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005667/1.373, allocations: 6.03 MB / 0.9179 GB, free: 37.44 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/1.378, allocations: 0.9462 MB / 0.9188 GB, free: 36.53 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2721/1.65, allocations: 105.3 MB / 1.022 GB, free: 120.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003735/1.654, allocations: 4.791 MB / 1.026 GB, free: 115.4 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.004288/1.658, allocations: 3.052 MB / 1.029 GB, free: 112.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002863/1.661, allocations: 3.413 MB / 1.033 GB, free: 109.1 MB / 490.8 MB Notification: Performance of SimCode: time 1.352e-06/1.661, allocations: 0 / 1.033 GB, free: 109.1 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3058/1.967, allocations: 173.8 MB / 1.202 GB, free: 129.9 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/16.36, allocations: 10.17 kB / 1.202 GB, free: 129.9 MB / 0.4949 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 18.311545236967504]