Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001603/0.001603, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001973/0.001973, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.449/1.449, 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.Fourbar_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 59.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2708, allocations: 53.42 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01669/0.2875, allocations: 13.53 MB / 444.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.2983, allocations: 4.946 MB / 449.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.3003, allocations: 99.5 kB / 449.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008133/0.3084, allocations: 4.241 MB / 454 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005577/0.314, allocations: 2.175 MB / 456.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.3165, allocations: 1.107 MB / 457.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008622/0.3251, allocations: 6.068 MB / 463.4 MB, free: 6.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005553/0.3307, allocations: 4.062 MB / 467.4 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003691/0.3344, allocations: 2.189 MB / 469.6 MB, free: 100 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00502/0.3394, allocations: 3.081 MB / 472.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001377/0.3408, allocations: 0.4922 MB / 473.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003686/0.3445, allocations: 1.67 MB / 474.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003818/0.3483, allocations: 2.657 MB / 477.5 MB, free: 8.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005674/0.354, allocations: 2.945 MB / 480.4 MB, free: 5.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01556/0.3695, allocations: 9.66 MB / 490.1 MB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3695, allocations: 0 / 490.1 MB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3695, allocations: 0 / 490.1 MB, free: 11.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003719/0.3699, allocations: 7.938 kB / 490.1 MB, free: 11.52 MB / 398.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.01664/0.3865, allocations: 6.276 MB / 496.4 MB, free: 5.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3866, allocations: 12.03 kB / 496.4 MB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002525/0.3891, allocations: 0.9364 MB / 497.3 MB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03606/0.4252, allocations: 6.047 MB / 0.4916 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.4353, allocations: 4.183 MB / 0.4957 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.4356, allocations: 312 kB / 0.496 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001599/0.4372, allocations: 435.7 kB / 0.4964 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02508/0.4623, allocations: 12.32 MB / 0.5084 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002183/0.4625, allocations: 43.64 kB / 0.5085 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001241/0.4638, allocations: 187.9 kB / 0.5086 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003477/0.4672, allocations: 2.039 MB / 0.5106 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02361/0.4908, allocations: 10.37 MB / 0.5208 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2685/0.7593, allocations: 43.82 MB / 0.5636 GB, free: 68.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.7703, allocations: 4.214 MB / 0.5677 GB, free: 67.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/0.7724, allocations: 1.856 MB / 0.5695 GB, free: 66.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009546/0.7819, allocations: 6.063 MB / 0.5754 GB, free: 63.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.782, allocations: 54.16 kB / 0.5755 GB, free: 63.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 4.999e-06/0.782, allocations: 0 / 0.5755 GB, free: 63.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.05781/0.8398, allocations: 19.17 MB / 0.5942 GB, free: 47.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.8399, allocations: 205.1 kB / 0.5944 GB, free: 47.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00575/0.8456, allocations: 4.492 MB / 0.5988 GB, free: 42.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004116/0.846, allocations: 57.7 kB / 0.5988 GB, free: 42.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001678/0.8477, allocations: 3.694 MB / 0.6024 GB, free: 39.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007855/0.8485, allocations: 0.8779 MB / 0.6033 GB, free: 38.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00139/0.8499, allocations: 1.278 MB / 0.6045 GB, free: 36.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.85, allocations: 301.1 kB / 0.6048 GB, free: 36.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/0.8527, allocations: 2.23 MB / 0.607 GB, free: 34.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003741/0.8564, allocations: 5.984 MB / 0.6128 GB, free: 26.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007184/0.8636, allocations: 8.916 MB / 0.6215 GB, free: 15.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.177e-05/0.8637, allocations: 40 kB / 0.6216 GB, free: 15.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01422/0.8779, allocations: 9.061 MB / 0.6304 GB, free: 6.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.878, allocations: 67.94 kB / 0.6305 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/0.8782, allocations: 128.9 kB / 0.6306 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003323/0.8815, allocations: 1.206 MB / 0.6318 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004061/0.8856, allocations: 1.415 MB / 0.6332 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.8969, allocations: 7.893 MB / 0.6409 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004801/0.9017, allocations: 343.5 kB / 0.6412 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/0.9028, allocations: 384 kB / 0.6416 GB, free: 11.22 MB / 462.1 MB 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.005147/0.908, allocations: 2.489 MB / 0.644 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/0.9091, allocations: 429.1 kB / 0.6444 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009064/0.9181, allocations: 3.869 MB / 0.6482 GB, free: 4.418 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.865e-05/0.9182, allocations: 24 kB / 0.6482 GB, free: 4.395 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.571e-05/0.9182, allocations: 15.92 kB / 0.6482 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.924e-05/0.9182, allocations: 7.969 kB / 0.6482 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0243/0.9425, allocations: 9.907 MB / 0.6579 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/0.9425, allocations: 4 kB / 0.6579 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/0.9442, allocations: 336.1 kB / 0.6582 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003532/0.9477, allocations: 0.9852 MB / 0.6592 GB, free: 9.051 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002622/0.948, allocations: 40 kB / 0.6592 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.9588, allocations: 6.591 MB / 0.6657 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/0.9588, allocations: 11.94 kB / 0.6657 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/0.9713, allocations: 6.621 MB / 0.6722 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/0.9727, allocations: 397 kB / 0.6725 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/0.9737, allocations: 47.94 kB / 0.6726 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/0.9758, allocations: 107.9 kB / 0.6727 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004723/0.9763, allocations: 152.9 kB / 0.6728 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/0.9765, allocations: 67.98 kB / 0.6729 GB, free: 10.85 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005531/0.9821, allocations: 2.824 MB / 0.6757 GB, free: 8.023 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.9821, allocations: 0 / 0.6757 GB, free: 8.023 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005825/0.9879, allocations: 1.152 MB / 0.6768 GB, free: 6.871 MB / 494.1 MB 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.01371/1.002, allocations: 7.326 MB / 0.6839 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01079/1.012, allocations: 5.327 MB / 0.6891 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.012, allocations: 384 / 0.6891 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003485/1.016, allocations: 1.713 MB / 0.6908 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004339/1.02, allocations: 0.5647 MB / 0.6914 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3318/1.352, allocations: 51.56 MB / 0.7417 GB, free: 194.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00593/1.358, allocations: 3.868 MB / 0.7455 GB, free: 193.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004689/1.363, allocations: 1.939 MB / 0.7474 GB, free: 193.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002743/1.365, allocations: 2.287 MB / 0.7496 GB, free: 193.1 MB / 0.545 GB Notification: Performance of SimCode: time 2.295e-06/1.365, allocations: 0 / 0.7496 GB, free: 193.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/1.5, allocations: 89.49 MB / 0.837 GB, free: 113.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.73/29.23, allocations: 3.938 kB / 0.837 GB, free: 113.6 MB / 0.545 GB " [Timeout remaining time 631] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 32.49338656384498]