Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.001697/0.001697, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001912/0.001912, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.663/1.663, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2378/0.2378, allocations: 46.95 MB / 361.6 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 79.88 kB / 0.4974 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3546, allocations: 66.08 MB / 0.5619 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01269/0.3673, allocations: 9.232 MB / 0.5709 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007695/0.375, allocations: 3.108 MB / 0.574 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.3767, allocations: 59.75 kB / 0.574 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005035/0.3817, allocations: 2.32 MB / 0.5763 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003822/0.3856, allocations: 1.256 MB / 0.5775 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3871, allocations: 0.5185 MB / 0.578 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004038/0.3911, allocations: 2.92 MB / 0.5809 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.3939, allocations: 2.441 MB / 0.5833 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.3955, allocations: 1.3 MB / 0.5845 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.3979, allocations: 1.724 MB / 0.5862 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005608/0.3985, allocations: 292 kB / 0.5865 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.4002, allocations: 0.9011 MB / 0.5874 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001563/0.4017, allocations: 1.624 MB / 0.589 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.4033, allocations: 1.429 MB / 0.5903 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00711/0.4104, allocations: 6.291 MB / 0.5965 GB, free: 420 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4104, allocations: 0 / 0.5965 GB, free: 420 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4104, allocations: 4 kB / 0.5965 GB, free: 416 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000111/0.4106, allocations: 0 / 0.5965 GB, free: 416 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.007953/0.4185, allocations: 4.284 MB / 0.6007 GB, free: 12.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4186, allocations: 8.031 kB / 0.6007 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005996/0.4246, allocations: 1.835 MB / 0.6025 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003842/0.4284, allocations: 1.725 MB / 0.6042 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.4286, allocations: 241.6 kB / 0.6044 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005506/0.4292, allocations: 303.8 kB / 0.6047 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02197/0.4511, allocations: 10.69 MB / 0.6151 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001968/0.4513, allocations: 43.67 kB / 0.6152 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/0.4524, allocations: 143.9 kB / 0.6153 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003929/0.4563, allocations: 2.04 MB / 0.6173 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/0.478, allocations: 9.312 MB / 0.6264 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05384/0.5319, allocations: 35.4 MB / 0.661 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.5431, allocations: 3.602 MB / 0.6645 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003191/0.5463, allocations: 2.09 MB / 0.6665 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009357/0.5557, allocations: 4.617 MB / 0.671 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.5557, allocations: 55.81 kB / 0.6711 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 5.28e-06/0.5557, allocations: 0 / 0.6711 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06769/0.6234, allocations: 21.91 MB / 0.6925 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.6235, allocations: 153.8 kB / 0.6926 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005059/0.6286, allocations: 3.083 MB / 0.6956 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002748/0.6289, allocations: 53.7 kB / 0.6957 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002395/0.6313, allocations: 2.95 MB / 0.6986 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.6324, allocations: 0.8333 MB / 0.6994 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002186/0.6345, allocations: 1.199 MB / 0.7005 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.6348, allocations: 357.9 kB / 0.7009 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004185/0.6389, allocations: 2.347 MB / 0.7032 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007986/0.6469, allocations: 5.788 MB / 0.7088 GB, free: 9.617 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01283/0.6598, allocations: 8.823 MB / 0.7175 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001511/0.6599, allocations: 39.94 kB / 0.7175 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01733/0.6772, allocations: 8.665 MB / 0.726 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.6774, allocations: 59.98 kB / 0.726 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002443/0.6777, allocations: 120 kB / 0.7261 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/0.6806, allocations: 1.046 MB / 0.7271 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004952/0.6856, allocations: 1.376 MB / 0.7285 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2821/0.9677, allocations: 5.513 MB / 0.7339 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/0.9722, allocations: 326.5 kB / 0.7342 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001214/0.9734, allocations: 362.6 kB / 0.7345 GB, free: 150 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00347/0.9769, allocations: 1.943 MB / 0.7364 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006304/0.9775, allocations: 288.8 kB / 0.7367 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/0.9835, allocations: 3.91 MB / 0.7405 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/0.9835, allocations: 22.59 kB / 0.7405 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.9835, allocations: 4.594 kB / 0.7405 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.9835, allocations: 14.2 kB / 0.7406 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.996, allocations: 7.627 MB / 0.748 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.996, allocations: 0 / 0.748 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.9976, allocations: 352.9 kB / 0.7483 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002176/0.9997, allocations: 0.8737 MB / 0.7492 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/0.9999, allocations: 33.92 kB / 0.7492 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/1.004, allocations: 4.855 MB / 0.754 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.004, allocations: 3.906 kB / 0.754 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008604/1.012, allocations: 6.866 MB / 0.7607 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007919/1.013, allocations: 254.7 kB / 0.7609 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006602/1.014, allocations: 35.09 kB / 0.761 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.016, allocations: 122.3 kB / 0.7611 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000329/1.016, allocations: 126.8 kB / 0.7612 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/1.016, allocations: 54.95 kB / 0.7612 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002897/1.019, allocations: 1.726 MB / 0.7629 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.019, allocations: 0 / 0.7629 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00492/1.024, allocations: 0.9416 MB / 0.7639 GB, free: 132.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006128/1.024, allocations: 171.8 kB / 0.764 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009177/1.034, allocations: 5.774 MB / 0.7697 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.034, allocations: 0 / 0.7697 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003791/1.037, allocations: 2.189 MB / 0.7718 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/1.04, allocations: 288.3 kB / 0.7721 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/1.055, allocations: 9.634 MB / 0.7815 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003736/1.059, allocations: 2.484 MB / 0.7839 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/1.061, allocations: 267.4 kB / 0.7842 GB, free: 112 MB / 0.5606 GB Notification: Performance of SimCode: time 1.943e-06/1.061, allocations: 3.609 kB / 0.7842 GB, free: 112 MB / 0.5606 GB Notification: Performance of Templates: time 0.1246/1.185, allocations: 124.4 MB / 0.9057 GB, free: 3.457 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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: 14.322216724976897]