Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.002037/0.002037, allocations: 120 kB / 18.5 MB, free: 4.52 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.002638/0.002638, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.545/1.545, allocations: 230.2 MB / 254.5 MB, free: 15.22 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 67.88 kB / 373.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.114, allocations: 53.32 MB / 427.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.2395/0.3536, allocations: 15.03 MB / 442.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.3641, allocations: 4.842 MB / 447 MB, free: 104 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003527/0.3677, allocations: 92.66 kB / 447.1 MB, free: 88 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007114/0.3748, allocations: 3.208 MB / 450.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008918/0.3837, allocations: 2.59 MB / 452.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.3866, allocations: 0.9862 MB / 453.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0127/0.3993, allocations: 7.043 MB / 460.9 MB, free: 9.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00565/0.4049, allocations: 3.699 MB / 464.6 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005035/0.41, allocations: 2.23 MB / 466.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00611/0.4161, allocations: 3.51 MB / 470.4 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001563/0.4176, allocations: 484 kB / 470.9 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.4213, allocations: 1.537 MB / 472.4 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003253/0.4245, allocations: 2.914 MB / 475.3 MB, free: 500 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004022/0.4285, allocations: 3.211 MB / 478.5 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.4417, allocations: 10.4 MB / 488.9 MB, free: 2.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4418, allocations: 8 kB / 488.9 MB, free: 2.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4418, allocations: 0 / 488.9 MB, free: 2.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000298/0.4421, allocations: 0 / 488.9 MB, free: 2.809 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01956/0.4616, allocations: 7.435 MB / 496.4 MB, free: 11.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.4617, allocations: 8.031 kB / 496.4 MB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01771/0.4794, allocations: 3.978 MB / 0.4886 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.4899, allocations: 4.127 MB / 0.4926 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003696/0.4903, allocations: 321.3 kB / 0.493 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/0.4924, allocations: 431.7 kB / 0.4934 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03033/0.5227, allocations: 15.71 MB / 0.5087 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001854/0.5229, allocations: 63.47 kB / 0.5088 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008329/0.5237, allocations: 203.8 kB / 0.509 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005783/0.5295, allocations: 3.223 MB / 0.5121 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03132/0.5608, allocations: 14.12 MB / 0.5259 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08675/0.6476, allocations: 57.58 MB / 0.5821 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/0.6632, allocations: 6.258 MB / 0.5883 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00552/0.6688, allocations: 3.338 MB / 0.5915 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02516/0.6939, allocations: 14.64 MB / 0.6058 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.694, allocations: 65.62 kB / 0.6059 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=289): time 5.56e-06/0.694, allocations: 0 / 0.6059 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=339): time 0.4346/1.129, allocations: 42.65 MB / 0.6475 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/1.129, allocations: 214.5 kB / 0.6477 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/1.139, allocations: 5.481 MB / 0.6531 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001/1.14, allocations: 73.33 kB / 0.6532 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003582/1.144, allocations: 4.529 MB / 0.6576 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002391/1.146, allocations: 1.311 MB / 0.6589 GB, free: 146.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004332/1.151, allocations: 1.872 MB / 0.6607 GB, free: 145.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.117e-05/1.151, allocations: 301.1 kB / 0.661 GB, free: 145.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008605/1.159, allocations: 4.805 MB / 0.6657 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01073/1.17, allocations: 9.8 MB / 0.6752 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01664/1.187, allocations: 15.58 MB / 0.6905 GB, free: 113.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001902/1.187, allocations: 51.94 kB / 0.6905 GB, free: 113.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.04574/1.233, allocations: 19.55 MB / 0.7096 GB, free: 94.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002116/1.233, allocations: 80.22 kB / 0.7097 GB, free: 94.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002821/1.233, allocations: 177.7 kB / 0.7098 GB, free: 93.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02285/1.256, allocations: 5.937 MB / 0.7156 GB, free: 87.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007576/1.263, allocations: 2.117 MB / 0.7177 GB, free: 85.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02948/1.293, allocations: 26.14 MB / 0.7432 GB, free: 59.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008833/1.302, allocations: 0.557 MB / 0.7438 GB, free: 58.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001879/1.304, allocations: 0.5117 MB / 0.7443 GB, free: 58.38 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1098): * Single equations (assignments): 1090 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006861/1.31, allocations: 3.095 MB / 0.7473 GB, free: 55.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001836/1.312, allocations: 0.5122 MB / 0.7478 GB, free: 54.76 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03105/1.343, allocations: 12.9 MB / 0.7604 GB, free: 41.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.172e-05/1.343, allocations: 58.61 kB / 0.7605 GB, free: 41.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.481e-05/1.344, allocations: 8 kB / 0.7605 GB, free: 41.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-05/1.344, allocations: 15.94 kB / 0.7605 GB, free: 41.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05673/1.4, allocations: 24.49 MB / 0.7844 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-05/1.4, allocations: 4 kB / 0.7844 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003372/1.404, allocations: 0.5772 MB / 0.785 GB, free: 16.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01935/1.423, allocations: 4.966 MB / 0.7898 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009985/1.424, allocations: 55.98 kB / 0.7899 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02888/1.453, allocations: 21.36 MB / 0.8107 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/1.453, allocations: 10.38 kB / 0.8107 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3217/1.775, allocations: 17.45 MB / 0.8278 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/1.776, allocations: 0.5521 MB / 0.8283 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001224/1.778, allocations: 57.42 kB / 0.8284 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003331/1.781, allocations: 260.9 kB / 0.8286 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009222/1.782, allocations: 198.9 kB / 0.8288 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003242/1.782, allocations: 85.67 kB / 0.8289 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006748/1.789, allocations: 3.397 MB / 0.8322 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/1.789, allocations: 0 / 0.8322 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01295/1.802, allocations: 1.734 MB / 0.8339 GB, free: 157.1 MB / 0.5294 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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001093/1.803, allocations: 208.5 kB / 0.8341 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01666/1.82, allocations: 10.49 MB / 0.8443 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.82, allocations: 3.719 kB / 0.8443 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005409/1.825, allocations: 3.788 MB / 0.848 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006121/1.831, allocations: 0.615 MB / 0.8486 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02951/1.861, allocations: 16.22 MB / 0.8645 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004766/1.866, allocations: 4.622 MB / 0.869 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005868/1.871, allocations: 2.963 MB / 0.8719 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.873, allocations: 348.9 kB / 0.8722 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/1.873, allocations: 1.062 kB / 0.8722 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1075/1.98, allocations: 77.58 MB / 0.948 GB, free: 61.27 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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: 8.216882007196546]