Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 84.98 kB / 23 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 175.6 kB / 26.4 MB, free: 7.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.029/1.029, allocations: 158.6 MB / 188.3 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 252.3 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.449e-05, allocations: 6.25 kB / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004208/0.004233, allocations: 2.93 MB / 255.2 MB, free: 4.301 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.005457, allocations: 0.7214 MB / 255.9 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.005603, allocations: 7.938 kB / 255.9 MB, free: 3.562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.00576, allocations: 47.5 kB / 256 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.005953, allocations: 111 kB / 256.1 MB, free: 3.406 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.006204, allocations: 91.8 kB / 256.2 MB, free: 3.316 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.00659, allocations: 437.7 kB / 256.6 MB, free: 2.887 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.006754, allocations: 71.64 kB / 256.7 MB, free: 2.816 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.007025, allocations: 231.5 kB / 256.9 MB, free: 2.59 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.007178, allocations: 123.6 kB / 257 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.007224, allocations: 32 kB / 257 MB, free: 2.438 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.281e-05/0.007267, allocations: 36 kB / 257.1 MB, free: 2.402 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.007322, allocations: 75.69 kB / 257.1 MB, free: 2.328 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.007429, allocations: 119.7 kB / 257.3 MB, free: 2.211 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.007714, allocations: 267.1 kB / 257.5 MB, free: 1.949 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.007717, allocations: 3.938 kB / 257.5 MB, free: 1.945 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007718, allocations: 0 / 257.5 MB, free: 1.945 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.007723, allocations: 0 / 257.5 MB, free: 1.945 MB / 234.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.0007283/0.008452, allocations: 0.6636 MB / 258.2 MB, free: 1.242 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.008486, allocations: 11.98 kB / 258.2 MB, free: 1.23 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.008567, allocations: 60.7 kB / 258.3 MB, free: 1.172 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.008823, allocations: 216 kB / 258.5 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.008844, allocations: 21.03 kB / 258.5 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.008881, allocations: 36.3 kB / 258.5 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.009222, allocations: 341.5 kB / 258.9 MB, free: 0.5 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.009232, allocations: 4.188 kB / 258.9 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.009254, allocations: 8.375 kB / 258.9 MB, free: 500 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.009265, allocations: 11.94 kB / 258.9 MB, free: 488 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.009399, allocations: 80.52 kB / 259 MB, free: 408 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.01055, allocations: 0.806 MB / 259.8 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.01082, allocations: 159.5 kB / 259.9 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.047e-05/0.01089, allocations: 55.59 kB / 260 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.01091, allocations: 8 kB / 260 MB, free: 15.31 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.01093, allocations: 37.39 kB / 260 MB, free: 15.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.01093, allocations: 0 / 260 MB, free: 15.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006293/0.01156, allocations: 293.1 kB / 260.3 MB, free: 14.96 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.01159, allocations: 55.41 kB / 260.4 MB, free: 14.9 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.01178, allocations: 276.2 kB / 260.6 MB, free: 14.61 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.0118, allocations: 29.7 kB / 260.7 MB, free: 14.57 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.01192, allocations: 243.1 kB / 260.9 MB, free: 14.33 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.01196, allocations: 75.33 kB / 261 MB, free: 14.26 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.01203, allocations: 47.58 kB / 261 MB, free: 14.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.01218, allocations: 0.5078 MB / 261.5 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.177e-05/0.01223, allocations: 24.45 kB / 261.6 MB, free: 13.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.347e-05/0.0123, allocations: 63.95 kB / 261.6 MB, free: 13.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.01243, allocations: 102.9 kB / 261.7 MB, free: 13.47 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.01243, allocations: 3.984 kB / 261.7 MB, free: 13.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003152/0.01275, allocations: 224.6 kB / 261.9 MB, free: 13.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.01276, allocations: 4 kB / 261.9 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01277, allocations: 0 / 261.9 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/0.01302, allocations: 91.36 kB / 262 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.01314, allocations: 39.92 kB / 262.1 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.01492, allocations: 3.615 MB / 265.7 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.01503, allocations: 27.78 kB / 265.7 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.01504, allocations: 4 kB / 265.7 MB, free: 9.227 MB / 250.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.0001091/0.01515, allocations: 172.6 kB / 265.9 MB, free: 9.047 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.0152, allocations: 31.86 kB / 265.9 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/0.01524, allocations: 30.27 kB / 265.9 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01524, allocations: 3.938 kB / 266 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.01525, allocations: 4 kB / 266 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01525, allocations: 3.984 kB / 266 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005586/0.01581, allocations: 0.5091 MB / 266.5 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01581, allocations: 0 / 266.5 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/0.01589, allocations: 23.92 kB / 266.5 MB, free: 8.391 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.01609, allocations: 95.36 kB / 266.6 MB, free: 8.289 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.0161, allocations: 4 kB / 266.6 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.018, allocations: 3.623 MB / 270.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.018, allocations: 4 kB / 270.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.0183, allocations: 343.5 kB / 270.6 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.01833, allocations: 31.72 kB / 270.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.01835, allocations: 4 kB / 270.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.01851, allocations: 28.02 kB / 270.6 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.01856, allocations: 27.89 kB / 270.6 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.01857, allocations: 8 kB / 270.6 MB, free: 3.969 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.01868, allocations: 189.1 kB / 270.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01868, allocations: 0 / 270.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003428/0.01902, allocations: 95.84 kB / 270.9 MB, free: 3.688 MB / 250.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.0001098/0.01913, allocations: 99.25 kB / 271 MB, free: 3.582 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004038/0.01953, allocations: 477.8 kB / 271.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01953, allocations: 0 / 271.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.01977, allocations: 427.1 kB / 271.9 MB, free: 2.621 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.02008, allocations: 48.66 kB / 272 MB, free: 2.574 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008721/0.02096, allocations: 495.3 kB / 272.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.473e-05/0.02102, allocations: 84.31 kB / 272.5 MB, free: 1.961 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.073e-05/0.0211, allocations: 29.92 kB / 272.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.02125, allocations: 122.2 kB / 272.7 MB, free: 1.812 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02125, allocations: 0 / 272.7 MB, free: 1.812 MB / 250.7 MB Notification: Performance of Templates: time 0.007198/0.02845, allocations: 3.908 MB / 276.6 MB, free: 13.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.960752759128809]