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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1944/0.1944, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 76.16 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2924, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01052/0.303, allocations: 10.5 MB / 0.5419 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006668/0.3097, allocations: 3.251 MB / 0.5451 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.3114, allocations: 53.88 kB / 0.5451 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004312/0.3157, allocations: 2.376 MB / 0.5475 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.3192, allocations: 1.246 MB / 0.5487 GB, free: 272 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.3205, allocations: 0.5155 MB / 0.5492 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003531/0.324, allocations: 2.924 MB / 0.552 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003407/0.3274, allocations: 3.04 MB / 0.555 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.3293, allocations: 1.269 MB / 0.5562 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/0.3317, allocations: 1.717 MB / 0.5579 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007836/0.3325, allocations: 296 kB / 0.5582 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.3345, allocations: 1.006 MB / 0.5592 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001639/0.3361, allocations: 1.582 MB / 0.5607 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002307/0.3384, allocations: 1.957 MB / 0.5626 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005846/0.3443, allocations: 6.234 MB / 0.5687 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3443, allocations: 3.938 kB / 0.5687 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3443, allocations: 0 / 0.5687 GB, free: 11.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000121/0.3445, allocations: 0 / 0.5687 GB, free: 11.64 MB / 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.00728/0.3517, allocations: 4.242 MB / 0.5729 GB, free: 7.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3518, allocations: 8.031 kB / 0.5729 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005349/0.3571, allocations: 1.813 MB / 0.5747 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.3602, allocations: 1.765 MB / 0.5764 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.3604, allocations: 241.7 kB / 0.5766 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000533/0.3609, allocations: 299.8 kB / 0.5769 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.3778, allocations: 10.65 MB / 0.5873 GB, free: 7.887 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.977e-05/0.3779, allocations: 43.59 kB / 0.5873 GB, free: 7.844 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003999/0.3783, allocations: 143.9 kB / 0.5875 GB, free: 7.703 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003002/0.3813, allocations: 2.04 MB / 0.5895 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/0.398, allocations: 9.348 MB / 0.5986 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04023/0.4383, allocations: 37.83 MB / 0.6355 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009607/0.4479, allocations: 4.2 MB / 0.6396 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002568/0.4505, allocations: 2.309 MB / 0.6419 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007539/0.4581, allocations: 6.096 MB / 0.6478 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.4582, allocations: 51.88 kB / 0.6479 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 4.588e-06/0.4582, allocations: 0 / 0.6479 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.0562/0.5144, allocations: 22.02 MB / 0.6694 GB, free: 2.105 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.5145, allocations: 153.8 kB / 0.6695 GB, free: 1.922 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/0.5184, allocations: 3.374 MB / 0.6728 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003442/0.5188, allocations: 53.7 kB / 0.6729 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.5204, allocations: 2.797 MB / 0.6756 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008037/0.5212, allocations: 0.7982 MB / 0.6764 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00147/0.5227, allocations: 1.194 MB / 0.6776 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.098e-05/0.5228, allocations: 305.1 kB / 0.6779 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003009/0.5258, allocations: 2.342 MB / 0.6801 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004886/0.5307, allocations: 5.792 MB / 0.6858 GB, free: 15.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008819/0.5395, allocations: 8.82 MB / 0.6944 GB, free: 4.953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.846e-05/0.5396, allocations: 36 kB / 0.6945 GB, free: 4.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01381/0.5534, allocations: 8.692 MB / 0.7029 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-05/0.5536, allocations: 56 kB / 0.703 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.5537, allocations: 132.1 kB / 0.7031 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.5562, allocations: 1.034 MB / 0.7041 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004234/0.5604, allocations: 1.384 MB / 0.7055 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005204/0.5657, allocations: 5.815 MB / 0.7112 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/0.5693, allocations: 323.5 kB / 0.7115 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006607/0.57, allocations: 360 kB / 0.7118 GB, free: 2.816 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.002627/0.5726, allocations: 1.94 MB / 0.7137 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004839/0.5731, allocations: 312 kB / 0.714 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006332/0.5795, allocations: 3.952 MB / 0.7179 GB, free: 12.57 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.387e-05/0.5795, allocations: 20 kB / 0.7179 GB, free: 12.55 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.5796, allocations: 8.188 kB / 0.7179 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/0.5796, allocations: 19.95 kB / 0.7179 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.5928, allocations: 8.811 MB / 0.7265 GB, free: 3.621 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.5929, allocations: 0 / 0.7265 GB, free: 3.621 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.5945, allocations: 351.5 kB / 0.7268 GB, free: 3.277 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002254/0.5968, allocations: 0.8696 MB / 0.7277 GB, free: 2.395 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/0.5969, allocations: 36 kB / 0.7277 GB, free: 2.359 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.244/0.8409, allocations: 5.126 MB / 0.7327 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.8409, allocations: 1.531 kB / 0.7327 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.851, allocations: 6.912 MB / 0.7395 GB, free: 174 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007243/0.8517, allocations: 355.3 kB / 0.7398 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/0.8521, allocations: 35.22 kB / 0.7399 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.8534, allocations: 121.8 kB / 0.74 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.8537, allocations: 115.7 kB / 0.7401 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.8539, allocations: 62.67 kB / 0.7401 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.002681/0.8566, allocations: 2.075 MB / 0.7422 GB, free: 173.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8566, allocations: 0 / 0.7422 GB, free: 173.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.003859/0.8604, allocations: 0.9538 MB / 0.7431 GB, free: 173 MB / 0.5763 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.0004091/0.8609, allocations: 172.5 kB / 0.7433 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.008109/0.869, allocations: 6.158 MB / 0.7493 GB, free: 170.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.869, allocations: 0 / 0.7493 GB, free: 170.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00333/0.8724, allocations: 2.488 MB / 0.7517 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.8742, allocations: 352.5 kB / 0.752 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.885, allocations: 9.472 MB / 0.7613 GB, free: 162.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00212/0.8872, allocations: 3.022 MB / 0.7643 GB, free: 159.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.8882, allocations: 287.4 kB / 0.7645 GB, free: 159.5 MB / 0.5763 GB Notification: Performance of SimCode: time 7.82e-07/0.8882, allocations: 0 / 0.7645 GB, free: 159.5 MB / 0.5763 GB Notification: Performance of Templates: time 0.09901/0.9873, allocations: 124.9 MB / 0.8865 GB, free: 34.53 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches