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.001672/0.001672, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.00214/0.00214, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 8.008 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 51.86 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.25, allocations: 53.36 MB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.0155/0.2655, allocations: 13.54 MB / 445.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.2771, allocations: 4.939 MB / 450.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/0.2795, allocations: 103.5 kB / 450.2 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008234/0.2877, allocations: 4.245 MB / 454.4 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005524/0.2933, allocations: 2.171 MB / 456.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.2959, allocations: 1.104 MB / 457.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009612/0.3055, allocations: 6.074 MB / 463.8 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006719/0.3122, allocations: 4.065 MB / 467.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004009/0.3162, allocations: 2.181 MB / 470 MB, free: 348 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005255/0.3215, allocations: 3.085 MB / 473.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001607/0.3231, allocations: 0.496 MB / 473.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003926/0.327, allocations: 1.67 MB / 475.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004071/0.3311, allocations: 2.645 MB / 477.9 MB, free: 8.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005854/0.3369, allocations: 2.879 MB / 480.8 MB, free: 5.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01588/0.3528, allocations: 9.527 MB / 490.3 MB, free: 11.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3528, allocations: 0 / 490.3 MB, free: 11.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3528, allocations: 0 / 490.3 MB, free: 11.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003696/0.3532, allocations: 0 / 490.3 MB, free: 11.97 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.01644/0.3696, allocations: 6.097 MB / 496.4 MB, free: 5.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3697, allocations: 8.031 kB / 496.4 MB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/0.3811, allocations: 2.571 MB / 499 MB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009449/0.3905, allocations: 3.679 MB / 0.4909 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/0.3908, allocations: 304.3 kB / 0.4912 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/0.3926, allocations: 451.6 kB / 0.4916 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02538/0.418, allocations: 12.41 MB / 0.5038 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/0.4182, allocations: 47.59 kB / 0.5038 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005334/0.4187, allocations: 191.9 kB / 0.504 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003421/0.4221, allocations: 2.042 MB / 0.506 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02314/0.4453, allocations: 10.57 MB / 0.5163 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2904/0.7357, allocations: 44.05 MB / 0.5593 GB, free: 70.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/0.7468, allocations: 4.261 MB / 0.5635 GB, free: 69.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002233/0.7491, allocations: 1.889 MB / 0.5653 GB, free: 68.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009513/0.7586, allocations: 6.184 MB / 0.5714 GB, free: 65.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.7586, allocations: 60.14 kB / 0.5714 GB, free: 65.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 3.727e-06/0.7586, allocations: 0 / 0.5714 GB, free: 65.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.05742/0.8161, allocations: 19.67 MB / 0.5906 GB, free: 49.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.8161, allocations: 209.9 kB / 0.5908 GB, free: 48.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00476/0.8209, allocations: 4.473 MB / 0.5952 GB, free: 44.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003204/0.8212, allocations: 53.7 kB / 0.5952 GB, free: 44.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.8227, allocations: 3.652 MB / 0.5988 GB, free: 41.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006641/0.8233, allocations: 0.8775 MB / 0.5997 GB, free: 40.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.8246, allocations: 1.346 MB / 0.601 GB, free: 38.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.931e-05/0.8246, allocations: 301.1 kB / 0.6013 GB, free: 38.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00269/0.8273, allocations: 2.371 MB / 0.6036 GB, free: 36.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003779/0.8311, allocations: 6.172 MB / 0.6096 GB, free: 28.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007443/0.8385, allocations: 9.179 MB / 0.6186 GB, free: 17.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.452e-05/0.8386, allocations: 43.94 kB / 0.6186 GB, free: 17.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01413/0.8527, allocations: 9.558 MB / 0.628 GB, free: 7.465 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.732e-05/0.8528, allocations: 60 kB / 0.628 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.455e-05/0.8529, allocations: 132 kB / 0.6281 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003738/0.8566, allocations: 1.371 MB / 0.6295 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003782/0.8604, allocations: 1.474 MB / 0.6309 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.8719, allocations: 8.38 MB / 0.6391 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005001/0.8769, allocations: 349.1 kB / 0.6394 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006897/0.8776, allocations: 395.3 kB / 0.6398 GB, free: 11.21 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * 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 (804): * Single equations (assignments): 800 * 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.004274/0.8819, allocations: 2.491 MB / 0.6422 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007428/0.8826, allocations: 417.2 kB / 0.6426 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008849/0.8915, allocations: 4.106 MB / 0.6467 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.512e-05/0.8915, allocations: 24 kB / 0.6467 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.8915, allocations: 11.94 kB / 0.6467 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/0.8915, allocations: 7.969 kB / 0.6467 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02008/0.9116, allocations: 10.1 MB / 0.6566 GB, free: 9.941 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/0.9116, allocations: 8 kB / 0.6566 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/0.9132, allocations: 327.5 kB / 0.6569 GB, free: 9.613 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003936/0.9171, allocations: 1.148 MB / 0.658 GB, free: 8.461 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/0.9173, allocations: 44 kB / 0.658 GB, free: 8.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.9287, allocations: 7.056 MB / 0.6649 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/0.9287, allocations: 8.641 kB / 0.6649 GB, free: 1.238 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/0.9416, allocations: 6.92 MB / 0.6717 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/0.9429, allocations: 397 kB / 0.6721 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004956/0.9434, allocations: 47.92 kB / 0.6721 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.945, allocations: 115.9 kB / 0.6722 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003762/0.9454, allocations: 148.9 kB / 0.6724 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/0.9456, allocations: 63.59 kB / 0.6724 GB, free: 9.484 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004848/0.9504, allocations: 2.806 MB / 0.6752 GB, free: 6.676 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9504, allocations: 0 / 0.6752 GB, free: 6.676 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005972/0.9564, allocations: 1.195 MB / 0.6763 GB, free: 5.48 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.0006085/0.957, allocations: 226.2 kB / 0.6766 GB, free: 5.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01007/0.9671, allocations: 5.533 MB / 0.682 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.9671, allocations: 4.25 kB / 0.682 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003084/0.9702, allocations: 1.753 MB / 0.6837 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/0.9734, allocations: 0.5554 MB / 0.6842 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/0.9936, allocations: 11.3 MB / 0.6953 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004996/0.9986, allocations: 3.874 MB / 0.699 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004794/1.003, allocations: 1.93 MB / 0.7009 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008106/1.004, allocations: 267.4 kB / 0.7012 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/1.004, allocations: 0 / 0.7012 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.3069/1.311, allocations: 46.72 MB / 0.7468 GB, free: 190.8 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/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: 7.411720851901919]