Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.00133/0.00133, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001327/0.001327, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.447/1.447, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.Fourbar_analytic,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09733, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2076/0.3049, allocations: 13.5 MB / 439.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.3161, allocations: 4.902 MB / 444.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003168/0.3193, allocations: 106.9 kB / 444.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008549/0.3278, allocations: 4.222 MB / 449 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007462/0.3353, allocations: 2.158 MB / 451.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.3387, allocations: 1.112 MB / 452.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01065/0.3493, allocations: 6.052 MB / 458.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006728/0.3561, allocations: 4.418 MB / 462.8 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004874/0.3609, allocations: 2.185 MB / 465 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006126/0.3671, allocations: 3.085 MB / 468.1 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001726/0.3688, allocations: 0.491 MB / 468.5 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004558/0.3733, allocations: 1.67 MB / 470.2 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004076/0.3774, allocations: 2.664 MB / 472.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005355/0.3828, allocations: 2.937 MB / 475.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.3966, allocations: 9.656 MB / 485.5 MB, free: 5.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3966, allocations: 0 / 485.5 MB, free: 5.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3966, allocations: 0 / 485.5 MB, free: 5.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002828/0.3969, allocations: 0 / 485.5 MB, free: 5.523 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01673/0.4136, allocations: 6.355 MB / 491.8 MB, free: 15.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4137, allocations: 8.031 kB / 491.8 MB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002537/0.4162, allocations: 0.9341 MB / 492.8 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04025/0.4565, allocations: 6.059 MB / 498.8 MB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.4666, allocations: 4.254 MB / 0.4913 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003237/0.4669, allocations: 308.2 kB / 0.4916 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0016/0.4685, allocations: 443.7 kB / 0.492 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02491/0.4934, allocations: 12.32 MB / 0.504 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001716/0.4936, allocations: 47.59 kB / 0.5041 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007867/0.4943, allocations: 195.8 kB / 0.5043 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003563/0.4979, allocations: 2.038 MB / 0.5063 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02259/0.5205, allocations: 10.36 MB / 0.5164 GB, free: 9.305 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06171/0.5822, allocations: 43.99 MB / 0.5593 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/0.5962, allocations: 4.654 MB / 0.5639 GB, free: 7.297 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003205/0.5994, allocations: 1.841 MB / 0.5657 GB, free: 5.445 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01259/0.612, allocations: 7.104 MB / 0.5726 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/0.612, allocations: 55.56 kB / 0.5727 GB, free: 14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=179): time 5.31e-06/0.612, allocations: 0 / 0.5727 GB, free: 14 MB / 494.1 MB Notification: Performance of matching and sorting (n=223): time 0.06921/0.6812, allocations: 19.24 MB / 0.5914 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.6814, allocations: 217.8 kB / 0.5917 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008087/0.6895, allocations: 4.493 MB / 0.596 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004498/0.6899, allocations: 53.7 kB / 0.5961 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003399/0.6933, allocations: 3.696 MB / 0.5997 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.6946, allocations: 0.8759 MB / 0.6006 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001928/0.6965, allocations: 1.275 MB / 0.6018 GB, free: 8 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6966, allocations: 305.1 kB / 0.6021 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003754/0.7004, allocations: 2.234 MB / 0.6043 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0075/0.7079, allocations: 5.983 MB / 0.6101 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2139/0.9218, allocations: 8.916 MB / 0.6188 GB, free: 152 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.985e-05/0.9219, allocations: 37.38 kB / 0.6189 GB, free: 152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01742/0.9393, allocations: 9.047 MB / 0.6277 GB, free: 149.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.594e-05/0.9394, allocations: 60.78 kB / 0.6278 GB, free: 149.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/0.9396, allocations: 131.4 kB / 0.6279 GB, free: 149.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003802/0.9434, allocations: 1.211 MB / 0.6291 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00422/0.9476, allocations: 1.417 MB / 0.6304 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.9582, allocations: 8.009 MB / 0.6383 GB, free: 145.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/0.9626, allocations: 342.8 kB / 0.6386 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007567/0.9633, allocations: 379.7 kB / 0.639 GB, free: 145 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (766): * Single equations (assignments): 762 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00368/0.967, allocations: 2.481 MB / 0.6414 GB, free: 144 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007111/0.9677, allocations: 431.2 kB / 0.6418 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007178/0.9749, allocations: 3.874 MB / 0.6456 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/0.9749, allocations: 23.09 kB / 0.6456 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.975, allocations: 6.906 kB / 0.6456 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.975, allocations: 13.19 kB / 0.6456 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/0.9896, allocations: 9.936 MB / 0.6553 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.9896, allocations: 3.906 kB / 0.6553 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.9909, allocations: 335.8 kB / 0.6556 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/0.9939, allocations: 0.9808 MB / 0.6566 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.994, allocations: 45.77 kB / 0.6566 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007524/1.002, allocations: 6.693 MB / 0.6632 GB, free: 134.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.002, allocations: 7.719 kB / 0.6632 GB, free: 134.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008662/1.01, allocations: 6.621 MB / 0.6697 GB, free: 129 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000917/1.011, allocations: 477.5 kB / 0.6701 GB, free: 128.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003837/1.011, allocations: 40 kB / 0.6701 GB, free: 128.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.013, allocations: 115.8 kB / 0.6703 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003064/1.013, allocations: 145 kB / 0.6704 GB, free: 128.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.013, allocations: 60 kB / 0.6705 GB, free: 128.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003211/1.017, allocations: 2.828 MB / 0.6732 GB, free: 125.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.017, allocations: 0 / 0.6732 GB, free: 125.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004492/1.021, allocations: 1.166 MB / 0.6744 GB, free: 124.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008872/1.03, allocations: 7.326 MB / 0.6815 GB, free: 116.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006691/1.037, allocations: 5.32 MB / 0.6867 GB, free: 111.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.037, allocations: 4.875 kB / 0.6867 GB, free: 111.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001995/1.039, allocations: 1.705 MB / 0.6884 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.041, allocations: 0.5582 MB / 0.6889 GB, free: 109.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05709/1.099, allocations: 51.47 MB / 0.7392 GB, free: 51.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003258/1.102, allocations: 3.869 MB / 0.743 GB, free: 47.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003671/1.105, allocations: 1.939 MB / 0.7449 GB, free: 46.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002321/1.108, allocations: 2.285 MB / 0.7471 GB, free: 43.75 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/1.108, allocations: 0 / 0.7471 GB, free: 43.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3416/1.449, allocations: 84.27 MB / 0.8294 GB, free: 178 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.25/27.7, allocations: 11.12 kB / 0.8294 GB, free: 177.9 MB / 0.545 GB " [Timeout remaining time 632] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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: 31.081605995073915]