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.001735/0.001735, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001893/0.001893, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.461/1.461, allocations: 230.2 MB / 254.5 MB, free: 15.28 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.001882/0.001882, allocations: 75.86 kB / 373.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1084, allocations: 53.31 MB / 426.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2178/0.3262, allocations: 13.49 MB / 440.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009641/0.3359, allocations: 4.907 MB / 445.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.3386, allocations: 87.06 kB / 445.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007974/0.3466, allocations: 4.221 MB / 449.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007143/0.3537, allocations: 2.161 MB / 451.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.3569, allocations: 1.104 MB / 452.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01136/0.3683, allocations: 6.057 MB / 458.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007157/0.3754, allocations: 4.426 MB / 463.1 MB, free: 8.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005581/0.381, allocations: 2.168 MB / 465.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006208/0.3872, allocations: 3.08 MB / 468.4 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001827/0.3891, allocations: 0.4962 MB / 468.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004345/0.3934, allocations: 1.657 MB / 470.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00447/0.3979, allocations: 2.662 MB / 473.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006458/0.4043, allocations: 2.945 MB / 476.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0147/0.419, allocations: 9.652 MB / 485.8 MB, free: 5.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.419, allocations: 4 kB / 485.8 MB, free: 5.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.419, allocations: 0 / 485.8 MB, free: 5.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000377/0.4194, allocations: 0 / 485.8 MB, free: 5.895 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.01685/0.4363, allocations: 6.359 MB / 492.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4363, allocations: 12.03 kB / 492.2 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002242/0.4386, allocations: 0.9286 MB / 493.1 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03571/0.4743, allocations: 6.051 MB / 499.1 MB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.485, allocations: 4.255 MB / 0.4916 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/0.4853, allocations: 308.2 kB / 0.4919 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/0.4866, allocations: 451.7 kB / 0.4923 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02343/0.51, allocations: 12.32 MB / 0.5043 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/0.5102, allocations: 47.59 kB / 0.5044 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004975/0.5107, allocations: 191.8 kB / 0.5046 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003221/0.5139, allocations: 2.031 MB / 0.5066 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02184/0.5357, allocations: 10.36 MB / 0.5167 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05883/0.5945, allocations: 43.98 MB / 0.5596 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.6072, allocations: 4.672 MB / 0.5642 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00272/0.6099, allocations: 1.843 MB / 0.566 GB, free: 5.793 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/0.6228, allocations: 7.096 MB / 0.5729 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.6228, allocations: 51.56 kB / 0.573 GB, free: 14.35 MB / 494.1 MB Notification: Performance of pre-optimization done (n=179): time 3.877e-06/0.6228, allocations: 0 / 0.573 GB, free: 14.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=223): time 0.06189/0.6847, allocations: 19.25 MB / 0.5918 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.6848, allocations: 210.2 kB / 0.592 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006108/0.6909, allocations: 4.485 MB / 0.5963 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002502/0.6912, allocations: 57.7 kB / 0.5964 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002862/0.6941, allocations: 3.7 MB / 0.6 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009102/0.695, allocations: 0.876 MB / 0.6009 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00168/0.6966, allocations: 1.278 MB / 0.6021 GB, free: 364 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6968, allocations: 301.1 kB / 0.6024 GB, free: 60 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00345/0.7002, allocations: 2.235 MB / 0.6046 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00659/0.7068, allocations: 5.983 MB / 0.6104 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1997/0.9065, allocations: 8.909 MB / 0.6191 GB, free: 152.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.766e-05/0.9066, allocations: 36.84 kB / 0.6192 GB, free: 152.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01669/0.9233, allocations: 9.049 MB / 0.628 GB, free: 150.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.9234, allocations: 61.28 kB / 0.6281 GB, free: 150.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002418/0.9236, allocations: 132.8 kB / 0.6282 GB, free: 150.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003933/0.9276, allocations: 1.207 MB / 0.6294 GB, free: 150 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004451/0.932, allocations: 1.417 MB / 0.6307 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/0.9431, allocations: 8.012 MB / 0.6386 GB, free: 145.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00481/0.9479, allocations: 344.8 kB / 0.6389 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000947/0.9488, allocations: 379.8 kB / 0.6393 GB, free: 145.5 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.004055/0.9529, allocations: 2.483 MB / 0.6417 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007411/0.9536, allocations: 427.4 kB / 0.6421 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007016/0.9606, allocations: 3.871 MB / 0.6459 GB, free: 143 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.638e-05/0.9607, allocations: 28.58 kB / 0.6459 GB, free: 143 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.9607, allocations: 9.875 kB / 0.6459 GB, free: 143 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/0.9607, allocations: 13.89 kB / 0.6459 GB, free: 143 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.9769, allocations: 9.929 MB / 0.6556 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.9769, allocations: 3.906 kB / 0.6556 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.9782, allocations: 336 kB / 0.6559 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002813/0.981, allocations: 0.9808 MB / 0.6569 GB, free: 139 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001712/0.9812, allocations: 51.17 kB / 0.657 GB, free: 139 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007441/0.9886, allocations: 6.687 MB / 0.6635 GB, free: 135.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.9886, allocations: 6.859 kB / 0.6635 GB, free: 135.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008666/0.9973, allocations: 6.619 MB / 0.67 GB, free: 129.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009968/0.9983, allocations: 475.5 kB / 0.6704 GB, free: 129.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003901/0.9987, allocations: 40 kB / 0.6704 GB, free: 129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/1, allocations: 125.3 kB / 0.6706 GB, free: 128.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/1, allocations: 141 kB / 0.6707 GB, free: 128.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/1.001, allocations: 67.92 kB / 0.6708 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002976/1.003, allocations: 2.824 MB / 0.6735 GB, free: 125.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/1.003, allocations: 4 kB / 0.6735 GB, free: 125.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004312/1.008, allocations: 1.162 MB / 0.6747 GB, free: 124.7 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.008743/1.017, allocations: 7.325 MB / 0.6818 GB, free: 117.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007059/1.024, allocations: 5.321 MB / 0.687 GB, free: 112 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.024, allocations: 0 / 0.687 GB, free: 112 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002097/1.026, allocations: 1.705 MB / 0.6887 GB, free: 110.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/1.029, allocations: 0.5779 MB / 0.6892 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07099/1.1, allocations: 51.47 MB / 0.7395 GB, free: 52.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00431/1.104, allocations: 3.869 MB / 0.7433 GB, free: 48.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003973/1.108, allocations: 1.932 MB / 0.7452 GB, free: 46.56 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002399/1.11, allocations: 2.288 MB / 0.7474 GB, free: 44.27 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/1.11, allocations: 0 / 0.7474 GB, free: 44.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3517/1.462, allocations: 84.26 MB / 0.8297 GB, free: 178.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.19/27.65, allocations: 8.406 kB / 0.8297 GB, free: 178.3 MB / 0.545 GB " [Timeout remaining time 632] (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_2/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_2/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: 31.333605494815856]