Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.0009871/0.0009871, allocations: 84.25 kB / 22.22 MB, free: 2.281 MB / 18.57 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.00113/0.00113, allocations: 168.4 kB / 25.61 MB, free: 8.879 MB / 18.57 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 0.9213/0.9213, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] 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.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 274.1 MB, free: 4.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.277e-05, allocations: 3.406 kB / 274.1 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003703/0.003726, allocations: 2.393 MB / 276.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009896/0.004716, allocations: 0.6364 MB / 277.1 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.004824, allocations: 8.656 kB / 277.1 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.902e-05/0.004923, allocations: 35.59 kB / 277.2 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.005045, allocations: 87.27 kB / 277.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.005219, allocations: 67.84 kB / 277.3 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.005438, allocations: 282.5 kB / 277.6 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.005572, allocations: 63.3 kB / 277.7 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.005773, allocations: 179.5 kB / 277.8 MB, free: 428 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.005886, allocations: 79.78 kB / 277.9 MB, free: 348 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.005913, allocations: 20 kB / 277.9 MB, free: 328 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.078e-05/0.005964, allocations: 28 kB / 278 MB, free: 300 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.005994, allocations: 47.77 kB / 278 MB, free: 252 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.956e-05/0.006064, allocations: 91.75 kB / 278.1 MB, free: 160 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.006291, allocations: 183.3 kB / 278.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.006295, allocations: 0 / 278.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006296, allocations: 0 / 278.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.0063, allocations: 0 / 278.3 MB, free: 15.98 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004715/0.006772, allocations: 0.5545 MB / 278.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.006803, allocations: 12.03 kB / 278.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.006921, allocations: 48.8 kB / 278.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.007097, allocations: 196.8 kB / 279.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.007111, allocations: 16.88 kB / 279.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.007137, allocations: 24.36 kB / 279.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.007287, allocations: 149.4 kB / 279.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.007299, allocations: 4.141 kB / 279.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.007311, allocations: 4.375 kB / 279.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.007319, allocations: 11.94 kB / 279.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.005e-05/0.007399, allocations: 75.36 kB / 279.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.007882, allocations: 0.5097 MB / 279.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.00803, allocations: 123 kB / 280 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.008089, allocations: 55.64 kB / 280 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.008105, allocations: 4 kB / 280.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.008128, allocations: 41.39 kB / 280.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.122e-06/0.008129, allocations: 0 / 280.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009012/0.00903, allocations: 0.7265 MB / 280.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.009054, allocations: 51.41 kB / 280.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.84e-05/0.009152, allocations: 218.6 kB / 281.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.009167, allocations: 33.7 kB / 281.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.009235, allocations: 187.5 kB / 281.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.009292, allocations: 122.9 kB / 281.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.009345, allocations: 55.34 kB / 281.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.009465, allocations: 0.5156 MB / 282 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.009502, allocations: 27.97 kB / 282 MB, free: 11.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.024e-05/0.009562, allocations: 75.03 kB / 282.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.00967, allocations: 117.5 kB / 282.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.009672, allocations: 0 / 282.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002275/0.009899, allocations: 219.2 kB / 282.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.00991, allocations: 4 kB / 282.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.009917, allocations: 7.938 kB / 282.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001133/0.01003, allocations: 47.66 kB / 282.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.01016, allocations: 51.97 kB / 282.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.01119, allocations: 2.087 MB / 284.6 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.01125, allocations: 11.98 kB / 284.6 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.01127, allocations: 15.97 kB / 284.6 MB, free: 9.215 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.502e-05/0.01136, allocations: 168.5 kB / 284.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.0114, allocations: 31.86 kB / 284.8 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.01143, allocations: 26.66 kB / 284.9 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01143, allocations: 4 kB / 284.9 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01144, allocations: 0 / 284.9 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01144, allocations: 3.984 kB / 284.9 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008973/0.01234, allocations: 0.6321 MB / 285.5 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01234, allocations: 0 / 285.5 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.01248, allocations: 63.91 kB / 285.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-05/0.01256, allocations: 31.64 kB / 285.6 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.01258, allocations: 8 kB / 285.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008077/0.01338, allocations: 1.788 MB / 287.4 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01339, allocations: 4 kB / 287.4 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.01369, allocations: 422.9 kB / 287.8 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/0.0137, allocations: 15.91 kB / 287.8 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.01372, allocations: 8 kB / 287.8 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.289e-05/0.01378, allocations: 8 kB / 287.8 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.01382, allocations: 27.98 kB / 287.9 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.01383, allocations: 12 kB / 287.9 MB, free: 5.754 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.233e-05/0.01389, allocations: 156.4 kB / 288 MB, free: 5.602 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01389, allocations: 0 / 288 MB, free: 5.602 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.01411, allocations: 68 kB / 288.1 MB, free: 5.535 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.881e-05/0.01419, allocations: 103.2 kB / 288.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.01446, allocations: 330.4 kB / 288.5 MB, free: 5.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01446, allocations: 4.062 kB / 288.5 MB, free: 5.074 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.01462, allocations: 270.1 kB / 288.8 MB, free: 4.789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01487, allocations: 50.16 kB / 288.8 MB, free: 4.742 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/0.01563, allocations: 0.64 MB / 289.5 MB, free: 4.066 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.848e-05/0.01568, allocations: 88.92 kB / 289.6 MB, free: 3.961 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.109e-05/0.01573, allocations: 22.28 kB / 289.6 MB, free: 3.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.01597, allocations: 118.2 kB / 289.7 MB, free: 3.82 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01597, allocations: 0 / 289.7 MB, free: 3.82 MB / 266.7 MB Notification: Performance of Templates: time 0.004549/0.02052, allocations: 2.986 MB / 292.7 MB, free: 0.8789 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5965623962692916]