Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001538/0.001538, allocations: 122.3 kB / 18.45 MB, free: 4.605 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.001481/0.001481, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 207.6 MB / 231.8 MB, free: 4.07 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 59.92 kB / 342.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.09824, allocations: 49.12 MB / 391.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02128/0.1195, allocations: 18.65 MB / 410 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.1337, allocations: 6.174 MB / 416.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00397/0.1377, allocations: 143.6 kB / 416.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01204/0.1497, allocations: 6.351 MB / 422.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008076/0.1578, allocations: 2.93 MB / 425.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005388/0.1632, allocations: 2.292 MB / 427.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01278/0.176, allocations: 8.827 MB / 436.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01067/0.1866, allocations: 6.925 MB / 443.7 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.1923, allocations: 3.241 MB / 446.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007321/0.1996, allocations: 4.491 MB / 451.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002323/0.2019, allocations: 0.7148 MB / 452.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004823/0.2067, allocations: 1.955 MB / 454.1 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005698/0.2124, allocations: 3.955 MB / 458 MB, free: 5.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007986/0.2204, allocations: 4.442 MB / 462.5 MB, free: 1.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2588/0.4792, allocations: 13.98 MB / 476.4 MB, free: 20.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4792, allocations: 0.9062 kB / 476.4 MB, free: 20.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4792, allocations: 0 / 476.4 MB, free: 20.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005621/0.4798, allocations: 0.5625 kB / 476.4 MB, free: 20.83 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.0343/0.514, allocations: 9.714 MB / 486.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.5141, allocations: 9.656 kB / 486.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005073/0.5192, allocations: 1.133 MB / 487.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2623/0.7814, allocations: 23.28 MB / 0.4986 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02161/0.803, allocations: 8.648 MB / 0.5071 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005003/0.8035, allocations: 437.9 kB / 0.5075 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003249/0.8068, allocations: 0.5798 MB / 0.508 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04294/0.8497, allocations: 16.86 MB / 0.5245 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004838/0.8502, allocations: 87.64 kB / 0.5246 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002882/0.8531, allocations: 267.8 kB / 0.5249 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004915/0.858, allocations: 2.66 MB / 0.5274 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03412/0.8921, allocations: 14.41 MB / 0.5415 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1118/1.004, allocations: 63.93 MB / 0.604 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02504/1.029, allocations: 8.348 MB / 0.6121 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009215/1.038, allocations: 4.56 MB / 0.6166 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04051/1.079, allocations: 18.15 MB / 0.6343 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.124e-05/1.079, allocations: 60.56 kB / 0.6343 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=281): time 7.494e-06/1.079, allocations: 4 kB / 0.6343 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=374): time 0.428/1.507, allocations: 73.31 MB / 0.7059 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/1.507, allocations: 380.6 kB / 0.7063 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01271/1.52, allocations: 6.508 MB / 0.7127 GB, free: 144 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001252/1.521, allocations: 77.7 kB / 0.7127 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003289/1.524, allocations: 5.043 MB / 0.7177 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002052/1.526, allocations: 1.427 MB / 0.719 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007156/1.533, allocations: 1.85 MB / 0.7209 GB, free: 135.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/1.533, allocations: 301.1 kB / 0.7211 GB, free: 135.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007752/1.541, allocations: 5.663 MB / 0.7267 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009773/1.551, allocations: 10.62 MB / 0.737 GB, free: 116.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0167/1.568, allocations: 17.36 MB / 0.754 GB, free: 96.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001375/1.568, allocations: 48 kB / 0.754 GB, free: 96.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03984/1.608, allocations: 21.92 MB / 0.7754 GB, free: 74.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/1.608, allocations: 83.98 kB / 0.7755 GB, free: 74.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002477/1.608, allocations: 172.1 kB / 0.7757 GB, free: 74.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0182/1.626, allocations: 6.854 MB / 0.7824 GB, free: 67.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0069/1.633, allocations: 2.07 MB / 0.7844 GB, free: 65.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04029/1.674, allocations: 36.41 MB / 0.82 GB, free: 28.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008564/1.682, allocations: 0.7217 MB / 0.8207 GB, free: 28.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001733/1.684, allocations: 0.5056 MB / 0.8212 GB, free: 27.55 MB / 0.5137 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.006679/1.69, allocations: 3.434 MB / 0.8245 GB, free: 24.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001622/1.692, allocations: 0.6247 MB / 0.8251 GB, free: 23.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2401/1.932, allocations: 16.03 MB / 0.8408 GB, free: 171.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.937e-05/1.932, allocations: 45.06 kB / 0.8408 GB, free: 171.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.231e-05/1.932, allocations: 19.16 kB / 0.8408 GB, free: 171.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-05/1.932, allocations: 18.33 kB / 0.8409 GB, free: 171.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05404/1.986, allocations: 31.26 MB / 0.8714 GB, free: 160 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.021e-05/1.987, allocations: 3.156 kB / 0.8714 GB, free: 160 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/1.99, allocations: 0.6017 MB / 0.872 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01743/2.007, allocations: 6.447 MB / 0.8783 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001088/2.008, allocations: 64.86 kB / 0.8783 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03723/2.045, allocations: 34.63 MB / 0.9121 GB, free: 118.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/2.045, allocations: 7.938 kB / 0.9122 GB, free: 118.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03634/2.082, allocations: 23.51 MB / 0.9351 GB, free: 95.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006404/2.088, allocations: 1.663 MB / 0.9367 GB, free: 93.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002364/2.09, allocations: 62.91 kB / 0.9368 GB, free: 93.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005083/2.096, allocations: 433.6 kB / 0.9372 GB, free: 93.51 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/2.097, allocations: 246.6 kB / 0.9374 GB, free: 93.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003683/2.097, allocations: 99.16 kB / 0.9375 GB, free: 93.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006707/2.104, allocations: 4.163 MB / 0.9416 GB, free: 89.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.1e-08/2.104, allocations: 0 / 0.9416 GB, free: 89.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01046/2.114, allocations: 2.196 MB / 0.9437 GB, free: 86.85 MB / 0.5137 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.03544/2.15, allocations: 24.27 MB / 0.9675 GB, free: 62.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01897/2.169, allocations: 13.66 MB / 0.9808 GB, free: 49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/2.169, allocations: 0 / 0.9808 GB, free: 49 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.009026/2.178, allocations: 6.035 MB / 0.9867 GB, free: 42.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006499/2.184, allocations: 0.9416 MB / 0.9876 GB, free: 42.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3687/2.553, allocations: 103.2 MB / 1.088 GB, free: 131 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007418/2.56, allocations: 5.283 MB / 1.094 GB, free: 125.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007053/2.567, allocations: 3.041 MB / 1.096 GB, free: 122.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005811/2.573, allocations: 3.409 MB / 1.1 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.623e-06/2.573, allocations: 0 / 1.1 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4556/3.029, allocations: 168.3 MB / 1.264 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.95/28.98, allocations: 3.984 kB / 1.264 GB, free: 139.9 MB / 0.5137 GB " [Timeout remaining time 631] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 33.528721928130835]