Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") [: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.001241/0.001241, allocations: 195 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008957/0.0008957, allocations: 91.5 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1726/0.1726, allocations: 45.14 MB / 383.3 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.352e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 63.25 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3316/0.432, allocations: 96.61 MB / 0.5981 GB, free: 6.672 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4323, allocations: 74.97 kB / 0.5982 GB, free: 6.637 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2394/0.6717, allocations: 89.74 MB / 0.6858 GB, free: 5.082 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004278/0.6722, allocations: 99.98 kB / 0.6859 GB, free: 4.984 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: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.06643/0.7386, allocations: 9.375 MB / 0.6951 GB, free: 11.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.7387, allocations: 8.031 kB / 0.6951 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009822/0.7485, allocations: 1.76 MB / 0.6968 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01177/0.7603, allocations: 3.418 MB / 0.7001 GB, free: 6.281 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005438/0.7609, allocations: 148 kB / 0.7003 GB, free: 6.137 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004421/0.7654, allocations: 279.8 kB / 0.7005 GB, free: 5.863 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02106/0.7865, allocations: 9.982 MB / 0.7103 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02971/0.8162, allocations: 13.47 MB / 0.7234 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003917/0.8166, allocations: 63.39 kB / 0.7235 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003477/0.8201, allocations: 28 kB / 0.7235 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0032/0.8233, allocations: 1.159 MB / 0.7247 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3718/1.195, allocations: 53.91 MB / 0.7773 GB, free: 69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008235/1.203, allocations: 6.855 MB / 0.784 GB, free: 68.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003756/1.207, allocations: 2.913 MB / 0.7868 GB, free: 68.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00951/1.217, allocations: 6.451 MB / 0.7931 GB, free: 64.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/1.217, allocations: 55.69 kB / 0.7932 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=176): time 6.152e-06/1.217, allocations: 3.375 kB / 0.7932 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=176): time 0.003849/1.221, allocations: 2.677 MB / 0.7958 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/1.221, allocations: 147.3 kB / 0.796 GB, free: 64.26 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005912/1.227, allocations: 3.809 MB / 0.7997 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002523/1.227, allocations: 25.7 kB / 0.7997 GB, free: 63.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001773/1.229, allocations: 3.343 MB / 0.803 GB, free: 62.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007337/1.23, allocations: 0.7061 MB / 0.8037 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/1.23, allocations: 2.625 kB / 0.8037 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002981/1.23, allocations: 0.5954 MB / 0.8042 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00261/1.233, allocations: 2.152 MB / 0.8063 GB, free: 61.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004142/1.237, allocations: 6.518 MB / 0.8127 GB, free: 55.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00479/1.242, allocations: 3.745 MB / 0.8164 GB, free: 55.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.128e-05/1.242, allocations: 45.22 kB / 0.8164 GB, free: 55.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01203/1.254, allocations: 7.701 MB / 0.8239 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.254, allocations: 3.969 kB / 0.8239 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/1.254, allocations: 157.3 kB / 0.8241 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/1.254, allocations: 229.9 kB / 0.8243 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005206/1.259, allocations: 1.653 MB / 0.8259 GB, free: 54.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001739/1.26, allocations: 306.1 kB / 0.8262 GB, free: 54.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005266/1.265, allocations: 0.7634 MB / 0.827 GB, free: 54.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005837/1.265, allocations: 452.7 kB / 0.8274 GB, free: 54.39 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (873): * Single equations (assignments): 870 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007521/1.266, allocations: 0.4924 MB / 0.8279 GB, free: 54.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005323/1.267, allocations: 369.5 kB / 0.8282 GB, free: 53.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/1.27, allocations: 2.464 MB / 0.8306 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.662e-05/1.27, allocations: 23.16 kB / 0.8306 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.27, allocations: 3.516 kB / 0.8307 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/1.27, allocations: 14.06 kB / 0.8307 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/1.275, allocations: 3.217 MB / 0.8338 GB, free: 53.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.275, allocations: 3.828 kB / 0.8338 GB, free: 53.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/1.277, allocations: 336.2 kB / 0.8341 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/1.277, allocations: 7.812 kB / 0.8341 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/1.277, allocations: 10.84 kB / 0.8341 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/1.277, allocations: 11.72 kB / 0.8342 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.277, allocations: 0 / 0.8342 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004526/1.282, allocations: 4.878 MB / 0.8389 GB, free: 51.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007107/1.283, allocations: 466.4 kB / 0.8394 GB, free: 51.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004784/1.283, allocations: 0 / 0.8394 GB, free: 51.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.284, allocations: 25.08 kB / 0.8394 GB, free: 51.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/1.285, allocations: 92.14 kB / 0.8395 GB, free: 51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/1.285, allocations: 49.45 kB / 0.8395 GB, free: 51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003038/1.288, allocations: 2.566 MB / 0.842 GB, free: 50.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005463/1.293, allocations: 1.237 MB / 0.8432 GB, free: 49.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003856/1.294, allocations: 152 kB / 0.8434 GB, free: 49.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006311/1.3, allocations: 4.845 MB / 0.8481 GB, free: 48.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.3, allocations: 0 / 0.8481 GB, free: 48.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/1.301, allocations: 1.274 MB / 0.8494 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/1.303, allocations: 383.8 kB / 0.8497 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.321, allocations: 8.69 MB / 0.8582 GB, free: 44.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005989/1.327, allocations: 4.035 MB / 0.8622 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/1.327, allocations: 0 / 0.8622 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.07689/1.404, allocations: 37.5 MB / 0.8988 GB, free: 24.8 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches