Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001351/0.001351, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001551/0.001551, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9051/0.9051, allocations: 177 MB / 204.8 MB, free: 5.582 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.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.791e-05, allocations: 4.984 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.002898/0.002916, allocations: 3.034 MB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.003927, allocations: 0.7555 MB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.004043, allocations: 4 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.004179, allocations: 51.44 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.004313, allocations: 107 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.004583, allocations: 103.8 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.004881, allocations: 429.9 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.005026, allocations: 83.61 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.00527, allocations: 231.5 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.005389, allocations: 119.7 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.005426, allocations: 32 kB / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.005489, allocations: 36 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.005529, allocations: 79.67 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.126e-05/0.00561, allocations: 123.7 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.00588, allocations: 282.9 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.005882, allocations: 0 / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005883, allocations: 0 / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.005888, allocations: 0 / 278.4 MB, free: 11.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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0006954/0.006583, allocations: 0.6597 MB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.006625, allocations: 11.98 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.006764, allocations: 68.69 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.006997, allocations: 224 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.007015, allocations: 21.03 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.007041, allocations: 32.31 kB / 279.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.007352, allocations: 361.6 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.007363, allocations: 4.172 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.007383, allocations: 12.38 kB / 279.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.007393, allocations: 7.938 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.007544, allocations: 99.88 kB / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009129/0.008457, allocations: 0.8406 MB / 280.7 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.009057, allocations: 187.6 kB / 280.9 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/0.009143, allocations: 63.66 kB / 280.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.009162, allocations: 4 kB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.009187, allocations: 37.39 kB / 281 MB, free: 9.172 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.009188, allocations: 0 / 281 MB, free: 9.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005666/0.009755, allocations: 316.9 kB / 281.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.00978, allocations: 51.41 kB / 281.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.009943, allocations: 292.3 kB / 281.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.009958, allocations: 25.7 kB / 281.6 MB, free: 8.453 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.01005, allocations: 235.2 kB / 281.9 MB, free: 8.219 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.01008, allocations: 75.38 kB / 281.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.01014, allocations: 47.59 kB / 282 MB, free: 8.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01025, allocations: 0.5078 MB / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.433e-05/0.01031, allocations: 36.39 kB / 282.5 MB, free: 7.531 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.01038, allocations: 67.97 kB / 282.6 MB, free: 7.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.01051, allocations: 118.9 kB / 282.7 MB, free: 7.324 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01051, allocations: 0 / 282.7 MB, free: 7.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002641/0.01077, allocations: 240.6 kB / 282.9 MB, free: 7.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01079, allocations: 6.812 kB / 283 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01079, allocations: 0 / 283 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/0.01105, allocations: 107.3 kB / 283.1 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.269e-05/0.01114, allocations: 35.91 kB / 283.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.01265, allocations: 3.684 MB / 286.8 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.01273, allocations: 23.88 kB / 286.8 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.01274, allocations: 4 kB / 286.8 MB, free: 2.969 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.874e-05/0.01283, allocations: 168.6 kB / 287 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.01286, allocations: 35.84 kB / 287 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.01289, allocations: 34.27 kB / 287 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.01289, allocations: 0 / 287 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.01289, allocations: 4 kB / 287 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.0129, allocations: 7.875 kB / 287.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.01338, allocations: 0.5548 MB / 287.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01339, allocations: 0 / 287.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.01344, allocations: 23.92 kB / 287.6 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000167/0.01361, allocations: 99.36 kB / 287.7 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.01362, allocations: 4 kB / 287.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.01522, allocations: 3.673 MB / 291.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01522, allocations: 0 / 291.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.01547, allocations: 363.5 kB / 291.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.0155, allocations: 27.8 kB / 291.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.01551, allocations: 4 kB / 291.8 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.01561, allocations: 28 kB / 291.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.01567, allocations: 27.84 kB / 291.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.01568, allocations: 8 kB / 291.9 MB, free: 13.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.458e-05/0.01577, allocations: 205.1 kB / 292.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01577, allocations: 0 / 292.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.01603, allocations: 91.84 kB / 292.1 MB, free: 13.29 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,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.0001305/0.01616, allocations: 107.2 kB / 292.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004132/0.01657, allocations: 482.1 kB / 292.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01658, allocations: 4 kB / 292.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.01677, allocations: 428.1 kB / 293.1 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.017, allocations: 52.59 kB / 293.2 MB, free: 12.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007556/0.01776, allocations: 489.7 kB / 293.7 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.571e-05/0.01782, allocations: 92.56 kB / 293.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.527e-05/0.01787, allocations: 17.95 kB / 293.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.01791, allocations: 20.5 kB / 293.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01791, allocations: 0 / 293.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of Templates: time 0.005468/0.02338, allocations: 3.778 MB / 297.6 MB, free: 7.773 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.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.7557706548832357]