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.001403/0.001403, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001754/0.001754, allocations: 165.6 kB / 24.91 MB, free: 8.77 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 1.027/1.027, allocations: 177 MB / 205.2 MB, free: 5.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.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.774e-06/1.774e-06, allocations: 0 / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.445e-05, allocations: 2.312 kB / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.00314/0.003164, allocations: 3.04 MB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.004476, allocations: 0.767 MB / 277.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.004617, allocations: 7.938 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.004765, allocations: 59.38 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.004932, allocations: 115 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.005216, allocations: 95.84 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000364/0.00558, allocations: 433.9 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.005736, allocations: 78.25 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.006056, allocations: 231.5 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.006206, allocations: 127.6 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.006246, allocations: 32 kB / 278.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.77e-05/0.006334, allocations: 39.94 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.006377, allocations: 71.69 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.368e-05/0.006461, allocations: 131.7 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.006728, allocations: 267.1 kB / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006731, allocations: 0 / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006732, allocations: 0 / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.006738, allocations: 0 / 278.9 MB, free: 11.67 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.0006098/0.007347, allocations: 0.5427 MB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.007387, allocations: 11.98 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.007541, allocations: 60.83 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.007766, allocations: 197.1 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.007782, allocations: 17.03 kB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.007807, allocations: 32.38 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.00808, allocations: 349.5 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.00809, allocations: 192 / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.008107, allocations: 8.375 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.008117, allocations: 11.94 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.804e-05/0.008215, allocations: 72.48 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008045/0.009019, allocations: 0.6465 MB / 280.8 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.009233, allocations: 154.8 kB / 281 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.009287, allocations: 56.77 kB / 281 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.009302, allocations: 4 kB / 281 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.009325, allocations: 34.56 kB / 281.1 MB, free: 9.348 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.009327, allocations: 4 kB / 281.1 MB, free: 9.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004587/0.009785, allocations: 259 kB / 281.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.009809, allocations: 55.41 kB / 281.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.009935, allocations: 221 kB / 281.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.00995, allocations: 29.7 kB / 281.6 MB, free: 8.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.01002, allocations: 176.9 kB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.01006, allocations: 75.31 kB / 281.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.01011, allocations: 49.91 kB / 281.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.0102, allocations: 338.8 kB / 282.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.01023, allocations: 16.47 kB / 282.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.01028, allocations: 51.47 kB / 282.3 MB, free: 8.027 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.305e-05/0.01037, allocations: 98.33 kB / 282.4 MB, free: 7.922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01037, allocations: 0 / 282.4 MB, free: 7.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002058/0.01058, allocations: 175.1 kB / 282.6 MB, free: 7.738 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01059, allocations: 8 kB / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.0106, allocations: 0 / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/0.01083, allocations: 93.62 kB / 282.7 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.01093, allocations: 35.98 kB / 282.7 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.01225, allocations: 2.482 MB / 285.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.421e-05/0.01233, allocations: 23.84 kB / 285.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.01235, allocations: 8 kB / 285.2 MB, free: 4.906 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.801e-05/0.01243, allocations: 129.8 kB / 285.4 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.01247, allocations: 23.97 kB / 285.4 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.01249, allocations: 34.2 kB / 285.4 MB, free: 4.715 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.0125, allocations: 3.984 kB / 285.4 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.0125, allocations: 4 kB / 285.4 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01251, allocations: 0 / 285.4 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.01292, allocations: 399.7 kB / 285.8 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01292, allocations: 0 / 285.8 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.01298, allocations: 19.98 kB / 285.8 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002866/0.01327, allocations: 89.64 kB / 285.9 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01328, allocations: 0 / 285.9 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.01449, allocations: 2.491 MB / 288.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01449, allocations: 0 / 288.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.0147, allocations: 257.6 kB / 288.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.01472, allocations: 27.75 kB / 288.7 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.01474, allocations: 7.938 kB / 288.7 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01485, allocations: 32.02 kB / 288.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.0149, allocations: 19.95 kB / 288.8 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-06/0.01491, allocations: 4 kB / 288.8 MB, free: 1.137 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.74e-05/0.01496, allocations: 78.78 kB / 288.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01496, allocations: 0 / 288.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.01523, allocations: 91.83 kB / 288.9 MB, free: 0.9727 MB / 266.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.000122/0.01535, allocations: 88.41 kB / 289 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003666/0.01572, allocations: 356.9 kB / 289.4 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.01573, allocations: 0 / 289.4 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.01591, allocations: 310.8 kB / 289.7 MB, free: 176 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.01612, allocations: 40.59 kB / 289.7 MB, free: 136 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007697/0.01689, allocations: 495.3 kB / 290.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.623e-05/0.01694, allocations: 92.56 kB / 290.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.24e-05/0.01702, allocations: 21.94 kB / 290.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.01714, allocations: 99.34 kB / 290.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01714, allocations: 0 / 290.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of Templates: time 0.005666/0.02281, allocations: 3.739 MB / 294.1 MB, free: 11.71 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 -s gbode -gbm=radauIIA3 -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.758345873095095]