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.0009828/0.0009828, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001261/0.001261, allocations: 165.7 kB / 24.82 MB, free: 9.266 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.9905/0.9905, allocations: 177 MB / 205.1 MB, free: 5.469 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.433e-06/1.433e-06, allocations: 0 / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.05e-05, allocations: 5.266 kB / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.006582/0.006603, allocations: 2.999 MB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.009078, allocations: 0.7399 MB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.009282, allocations: 7.938 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.009454, allocations: 59.36 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.009675, allocations: 115 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.01001, allocations: 95.84 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004686/0.01048, allocations: 433.9 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.01066, allocations: 75.62 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004221/0.01108, allocations: 239.5 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.01127, allocations: 123.6 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.01133, allocations: 32 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.024e-05/0.01142, allocations: 36 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.01147, allocations: 67.75 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.01159, allocations: 131.7 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.01194, allocations: 271 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01195, allocations: 0 / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01195, allocations: 0 / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.01196, allocations: 0 / 278.7 MB, free: 11.78 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.000818/0.01277, allocations: 0.6635 MB / 279.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.01281, allocations: 11.98 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.01301, allocations: 76.67 kB / 279.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.0133, allocations: 236 kB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.01333, allocations: 17.03 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.01336, allocations: 32.31 kB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.01373, allocations: 337.6 kB / 280.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.01374, allocations: 192 / 280.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.01377, allocations: 16.38 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.01378, allocations: 7.938 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.01392, allocations: 80.45 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.01512, allocations: 0.8021 MB / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.0154, allocations: 155.6 kB / 281.2 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.01548, allocations: 67.58 kB / 281.2 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.0155, allocations: 4 kB / 281.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.01553, allocations: 41.33 kB / 281.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.01553, allocations: 0 / 281.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006411/0.01617, allocations: 284.6 kB / 281.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.0162, allocations: 55.41 kB / 281.6 MB, free: 8.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.0164, allocations: 284.2 kB / 281.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.01642, allocations: 33.7 kB / 281.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.01654, allocations: 235.2 kB / 282.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.01659, allocations: 71.38 kB / 282.2 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/0.01667, allocations: 59.56 kB / 282.3 MB, free: 8.004 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.01681, allocations: 0.5039 MB / 282.8 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.01687, allocations: 32.38 kB / 282.8 MB, free: 7.457 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.457e-05/0.01694, allocations: 63.94 kB / 282.9 MB, free: 7.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.01708, allocations: 94.97 kB / 283 MB, free: 7.277 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01708, allocations: 0 / 283 MB, free: 7.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000328/0.01741, allocations: 224.5 kB / 283.2 MB, free: 7.043 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.01742, allocations: 11.12 kB / 283.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01743, allocations: 0 / 283.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.01774, allocations: 103.3 kB / 283.3 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.01786, allocations: 27.98 kB / 283.3 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.0198, allocations: 3.626 MB / 286.9 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.01993, allocations: 23.88 kB / 287 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.01994, allocations: 8 kB / 287 MB, free: 3.016 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 0.0001205/0.02006, allocations: 168.5 kB / 287.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.02013, allocations: 31.86 kB / 287.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.02016, allocations: 34.27 kB / 287.2 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.02016, allocations: 3.938 kB / 287.2 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.02017, allocations: 4 kB / 287.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.02018, allocations: 4.031 kB / 287.2 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000639/0.02081, allocations: 0.5044 MB / 287.7 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02082, allocations: 0 / 287.7 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.951e-05/0.0209, allocations: 19.98 kB / 287.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/0.02116, allocations: 99.48 kB / 287.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.02117, allocations: 0 / 287.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.02315, allocations: 3.619 MB / 291.4 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.02315, allocations: 0 / 291.4 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.02347, allocations: 347.5 kB / 291.8 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.02351, allocations: 31.73 kB / 291.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.02353, allocations: 4 kB / 291.8 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.02368, allocations: 32.03 kB / 291.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.02373, allocations: 19.97 kB / 291.9 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.02375, allocations: 4 kB / 291.9 MB, free: 13.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.02386, allocations: 193.1 kB / 292.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02386, allocations: 0 / 292.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003984/0.02425, allocations: 95.84 kB / 292.2 MB, free: 13.5 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.0001294/0.02438, allocations: 111.2 kB / 292.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004499/0.02483, allocations: 474.1 kB / 292.7 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.02484, allocations: 4 kB / 292.7 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.02511, allocations: 420.2 kB / 293.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.02536, allocations: 48.08 kB / 293.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007726/0.02613, allocations: 489.7 kB / 293.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.613e-05/0.02619, allocations: 92.56 kB / 293.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.582e-05/0.02626, allocations: 25.94 kB / 293.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.02638, allocations: 126.2 kB / 293.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02638, allocations: 0 / 293.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of Templates: time 0.005714/0.03209, allocations: 3.835 MB / 297.7 MB, free: 7.844 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.733772423118353]