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.001266/0.001266, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.001324/0.001324, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 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 1.329/1.329, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 47.92 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2321, allocations: 53.36 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02003/0.2521, allocations: 18.15 MB / 450.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.2642, allocations: 6.095 MB / 456.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.267, allocations: 171.1 kB / 456.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0111/0.2781, allocations: 6.348 MB / 462.7 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006714/0.2848, allocations: 2.891 MB / 465.6 MB, free: 5.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004322/0.2891, allocations: 2.3 MB / 467.9 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01273/0.3018, allocations: 9.71 MB / 477.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008161/0.31, allocations: 6.236 MB / 483.8 MB, free: 2.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005412/0.3154, allocations: 3.253 MB / 487.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006481/0.3219, allocations: 4.472 MB / 491.5 MB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001315/0.3232, allocations: 0.7148 MB / 492.3 MB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003404/0.3266, allocations: 1.943 MB / 494.2 MB, free: 8.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004222/0.3308, allocations: 3.916 MB / 498.1 MB, free: 4.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006164/0.337, allocations: 4.407 MB / 0.4908 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01596/0.3529, allocations: 13.86 MB / 0.5043 GB, free: 2.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3529, allocations: 4 kB / 0.5043 GB, free: 2.031 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3529, allocations: 0 / 0.5043 GB, free: 2.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002593/0.3532, allocations: 0 / 0.5043 GB, free: 2.031 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.02634/0.3795, allocations: 9.592 MB / 0.5137 GB, free: 8.355 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3796, allocations: 8.031 kB / 0.5137 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002207/0.3798, allocations: 179.7 kB / 0.5138 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002282/0.3821, allocations: 1.135 MB / 0.5149 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.698/1.08, allocations: 23.27 MB / 0.5377 GB, free: 94.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/1.096, allocations: 7.455 MB / 0.545 GB, free: 92.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/1.097, allocations: 438.9 kB / 0.5454 GB, free: 92.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001696/1.098, allocations: 0.578 MB / 0.5459 GB, free: 92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02412/1.122, allocations: 16.86 MB / 0.5624 GB, free: 80.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002234/1.123, allocations: 79.41 kB / 0.5625 GB, free: 80.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007365/1.123, allocations: 275.4 kB / 0.5627 GB, free: 80.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003375/1.127, allocations: 2.653 MB / 0.5653 GB, free: 77.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/1.149, allocations: 14.4 MB / 0.5794 GB, free: 63.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05576/1.205, allocations: 63.6 MB / 0.6415 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0228/1.227, allocations: 7.91 MB / 0.6492 GB, free: 6.578 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006004/1.233, allocations: 4.578 MB / 0.6537 GB, free: 1.992 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02645/1.26, allocations: 17.47 MB / 0.6708 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/1.26, allocations: 64.44 kB / 0.6708 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 5.129e-06/1.26, allocations: 3.938 kB / 0.6708 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of matching and sorting (n=374): time 0.2566/1.517, allocations: 72.96 MB / 0.7421 GB, free: 7.648 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002205/1.517, allocations: 372.6 kB / 0.7424 GB, free: 7.203 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009171/1.526, allocations: 6.427 MB / 0.7487 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008235/1.527, allocations: 81.7 kB / 0.7488 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.1799/1.707, allocations: 5.022 MB / 0.7537 GB, free: 192.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001651/1.708, allocations: 1.43 MB / 0.7551 GB, free: 191.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002802/1.711, allocations: 1.844 MB / 0.7569 GB, free: 190.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.803e-05/1.711, allocations: 305.7 kB / 0.7572 GB, free: 190.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007058/1.718, allocations: 5.656 MB / 0.7627 GB, free: 188.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00802/1.726, allocations: 10.62 MB / 0.7731 GB, free: 179.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/1.741, allocations: 17.36 MB / 0.79 GB, free: 167.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.533e-05/1.741, allocations: 52.09 kB / 0.7901 GB, free: 167.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03477/1.776, allocations: 21.92 MB / 0.8115 GB, free: 148.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.997e-05/1.776, allocations: 76 kB / 0.8115 GB, free: 148.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/1.776, allocations: 176 kB / 0.8117 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01876/1.795, allocations: 6.853 MB / 0.8184 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006812/1.802, allocations: 2.078 MB / 0.8204 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03786/1.84, allocations: 36.1 MB / 0.8557 GB, free: 102.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007914/1.848, allocations: 0.7204 MB / 0.8564 GB, free: 101.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/1.849, allocations: 0.5113 MB / 0.8569 GB, free: 101.4 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.004849/1.854, allocations: 3.418 MB / 0.8602 GB, free: 98.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/1.855, allocations: 0.6208 MB / 0.8608 GB, free: 97.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02666/1.882, allocations: 16.03 MB / 0.8765 GB, free: 81.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.927e-05/1.882, allocations: 48 kB / 0.8765 GB, free: 81.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.562e-05/1.882, allocations: 16 kB / 0.8766 GB, free: 81.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.409e-05/1.882, allocations: 19.92 kB / 0.8766 GB, free: 81.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04432/1.926, allocations: 31.2 MB / 0.907 GB, free: 49.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-05/1.926, allocations: 8.031 kB / 0.907 GB, free: 49.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002995/1.929, allocations: 0.5967 MB / 0.9076 GB, free: 49.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01734/1.947, allocations: 6.444 MB / 0.9139 GB, free: 42.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006638/1.947, allocations: 60 kB / 0.914 GB, free: 42.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03593/1.983, allocations: 34.33 MB / 0.9475 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.983, allocations: 7.938 kB / 0.9475 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.246/2.229, allocations: 23.51 MB / 0.9705 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/2.231, allocations: 0.5793 MB / 0.971 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001479/2.232, allocations: 60.75 kB / 0.9711 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004313/2.237, allocations: 431.2 kB / 0.9715 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001118/2.238, allocations: 257.3 kB / 0.9717 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000346/2.238, allocations: 100.1 kB / 0.9718 GB, free: 170.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00519/2.243, allocations: 4.107 MB / 0.9759 GB, free: 169 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/2.243, allocations: 0 / 0.9759 GB, free: 169 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008089/2.252, allocations: 2.187 MB / 0.978 GB, free: 168.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.03517/2.287, allocations: 24.28 MB / 1.002 GB, free: 153 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01685/2.304, allocations: 13.67 MB / 1.015 GB, free: 139.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/2.304, allocations: 4 kB / 1.015 GB, free: 139.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008255/2.312, allocations: 6.023 MB / 1.021 GB, free: 133.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005495/2.317, allocations: 0.9401 MB / 1.022 GB, free: 132.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.133/2.45, allocations: 102.9 MB / 1.122 GB, free: 21.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005199/2.455, allocations: 5.255 MB / 1.127 GB, free: 16.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005715/2.461, allocations: 3.032 MB / 1.13 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004262/2.465, allocations: 3.389 MB / 1.134 GB, free: 9.996 MB / 0.545 GB Notification: Performance of SimCode: time 1.483e-06/2.465, allocations: 4 kB / 1.134 GB, free: 9.992 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4064/2.872, allocations: 172.3 MB / 1.302 GB, free: 66 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.66/29.53, allocations: 8.062 kB / 1.302 GB, free: 66 MB / 0.5607 GB " [Timeout remaining time 630] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/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_4.1.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: 34.61954776098719]