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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002129/0.002129, allocations: 199.2 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 225.5 MB / 234.4 MB, free: 3.359 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009641/0.000964, allocations: 95.28 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.182/0.182, allocations: 45.14 MB / 383.3 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.092e-06/6.122e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.09156, allocations: 63.24 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2925/0.3841, allocations: 108.4 MB / 0.6096 GB, free: 10.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.3844, allocations: 78.83 kB / 0.6097 GB, free: 10.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1751/0.5595, allocations: 69.86 MB / 0.6779 GB, free: 13.21 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.00018/0.5597, allocations: 79.98 kB / 0.678 GB, free: 13.13 MB / 474.7 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.01055/0.5702, allocations: 3.677 MB / 0.6816 GB, free: 9.391 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.5703, allocations: 8.031 kB / 0.6816 GB, free: 9.383 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008598/0.5789, allocations: 1.707 MB / 0.6832 GB, free: 7.668 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005295/0.5842, allocations: 2.076 MB / 0.6853 GB, free: 5.543 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.5845, allocations: 128 kB / 0.6854 GB, free: 5.418 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/0.5861, allocations: 239.9 kB / 0.6856 GB, free: 5.184 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0113/0.5974, allocations: 6.193 MB / 0.6917 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01977/0.6172, allocations: 9.255 MB / 0.7007 GB, free: 4.793 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002731/0.6175, allocations: 59.45 kB / 0.7007 GB, free: 4.734 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001459/0.619, allocations: 32 kB / 0.7008 GB, free: 4.703 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001786/0.6208, allocations: 1.123 MB / 0.7019 GB, free: 3.578 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05208/0.6729, allocations: 44.66 MB / 0.7455 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004336/0.6773, allocations: 3.329 MB / 0.7487 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2005/0.8778, allocations: 2.288 MB / 0.751 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007006/0.8785, allocations: 0.7206 MB / 0.7517 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.8786, allocations: 57.39 kB / 0.7517 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=190): time 5.06e-06/0.8786, allocations: 3.562 kB / 0.7517 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=235): time 0.04698/0.9256, allocations: 23.2 MB / 0.7744 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.9257, allocations: 204 kB / 0.7746 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003116/0.9288, allocations: 2.521 MB / 0.777 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004226/0.9292, allocations: 29.33 kB / 0.7771 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.9304, allocations: 2.732 MB / 0.7797 GB, free: 108 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000879/0.9312, allocations: 0.8528 MB / 0.7806 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003302/0.9316, allocations: 0 / 0.7806 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003621/0.932, allocations: 0.6191 MB / 0.7812 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003698/0.9357, allocations: 2.62 MB / 0.7837 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004968/0.9407, allocations: 6.139 MB / 0.7897 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005882/0.9466, allocations: 4.172 MB / 0.7938 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/0.9467, allocations: 36.72 kB / 0.7938 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01547/0.9622, allocations: 8.969 MB / 0.8026 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.9623, allocations: 7.812 kB / 0.8026 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001857/0.9625, allocations: 127 kB / 0.8027 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002957/0.9654, allocations: 1.121 MB / 0.8038 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005213/0.9707, allocations: 1.45 MB / 0.8052 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/0.9748, allocations: 4.98 MB / 0.8101 GB, free: 97.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004524/0.9794, allocations: 193.5 kB / 0.8103 GB, free: 97.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/0.9809, allocations: 386.8 kB / 0.8107 GB, free: 97.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (777): * Single equations (assignments): 770 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001522/0.9824, allocations: 423.4 kB / 0.8111 GB, free: 97.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007479/0.9831, allocations: 287.8 kB / 0.8113 GB, free: 97.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007984/0.9911, allocations: 4.861 MB / 0.8161 GB, free: 95.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-05/0.9912, allocations: 30 kB / 0.8161 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/0.9912, allocations: 7.719 kB / 0.8161 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/0.9913, allocations: 13.48 kB / 0.8161 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/1.008, allocations: 10.27 MB / 0.8262 GB, free: 91.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.008, allocations: 1.469 kB / 0.8262 GB, free: 91.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/1.01, allocations: 381 kB / 0.8265 GB, free: 91.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002768/1.013, allocations: 0.9268 MB / 0.8274 GB, free: 91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002658/1.013, allocations: 16.59 kB / 0.8274 GB, free: 90.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00407/1.017, allocations: 4.378 MB / 0.8317 GB, free: 87.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.017, allocations: 4.656 kB / 0.8317 GB, free: 87.75 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01257/1.029, allocations: 8.585 MB / 0.8401 GB, free: 84.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007647/1.03, allocations: 331.5 kB / 0.8404 GB, free: 83.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008546/1.031, allocations: 4.125 kB / 0.8404 GB, free: 83.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001897/1.033, allocations: 62.44 kB / 0.8405 GB, free: 83.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/1.033, allocations: 109.3 kB / 0.8406 GB, free: 83.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002495/1.034, allocations: 76.91 kB / 0.8407 GB, free: 83.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.00307/1.037, allocations: 1.652 MB / 0.8423 GB, free: 83.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005377/1.042, allocations: 0.8809 MB / 0.8431 GB, free: 83.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 193 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006564/1.043, allocations: 172.3 kB / 0.8433 GB, free: 83.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01012/1.053, allocations: 6.815 MB / 0.85 GB, free: 79.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.053, allocations: 0 / 0.85 GB, free: 79.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00407/1.057, allocations: 2.929 MB / 0.8528 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/1.058, allocations: 217.4 kB / 0.853 GB, free: 76.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/1.073, allocations: 8.249 MB / 0.8611 GB, free: 68.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004413/1.077, allocations: 3.403 MB / 0.8644 GB, free: 66.16 MB / 0.5261 GB Notification: Performance of SimCode: time 6.02e-07/1.077, allocations: 0 / 0.8644 GB, free: 66.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.06571/1.143, allocations: 42.45 MB / 0.9059 GB, free: 31.18 MB / 0.5261 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches