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.0009353/0.0009353, allocations: 75.77 kB / 22.46 MB, free: 2.09 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.0009621/0.0009621, allocations: 160.1 kB / 25.75 MB, free: 8.945 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 0.8947/0.8947, allocations: 158.6 MB / 187.5 MB, free: 2.945 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.993e-06/1.993e-06, allocations: 0 / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.033e-05, allocations: 6.25 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.01017/0.0102, allocations: 2.961 MB / 254.1 MB, free: 4.812 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004634/0.01483, allocations: 0.7098 MB / 254.8 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.01501, allocations: 11.94 kB / 254.8 MB, free: 4.082 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.0152, allocations: 55.44 kB / 254.8 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.01541, allocations: 107 kB / 255 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.01571, allocations: 91.8 kB / 255 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.01616, allocations: 433.8 kB / 255.5 MB, free: 3.406 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.01637, allocations: 71.62 kB / 255.5 MB, free: 3.336 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.01978, allocations: 235.5 kB / 255.8 MB, free: 3.105 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.02, allocations: 123.6 kB / 255.9 MB, free: 2.984 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.194e-05/0.02007, allocations: 32 kB / 255.9 MB, free: 2.953 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.33e-05/0.02013, allocations: 32 kB / 256 MB, free: 2.922 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.02019, allocations: 71.75 kB / 256 MB, free: 2.852 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.02034, allocations: 127.7 kB / 256.1 MB, free: 2.727 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.02072, allocations: 263.1 kB / 256.4 MB, free: 2.469 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.02073, allocations: 0 / 256.4 MB, free: 2.469 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02073, allocations: 0 / 256.4 MB, free: 2.469 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.02073, allocations: 4 kB / 256.4 MB, free: 2.465 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.0009039/0.02164, allocations: 0.6597 MB / 257.1 MB, free: 1.766 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.02169, allocations: 15.98 kB / 257.1 MB, free: 1.75 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.0218, allocations: 60.7 kB / 257.1 MB, free: 1.691 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.02213, allocations: 220 kB / 257.4 MB, free: 1.449 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.02216, allocations: 25.03 kB / 257.4 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.02221, allocations: 28.38 kB / 257.4 MB, free: 1.398 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/0.0258, allocations: 361.5 kB / 257.8 MB, free: 1 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.02581, allocations: 4.188 kB / 257.8 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.02584, allocations: 12.38 kB / 257.8 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.02586, allocations: 7.938 kB / 257.8 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.02613, allocations: 107.8 kB / 257.9 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.02763, allocations: 0.8367 MB / 258.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.02804, allocations: 183.1 kB / 258.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.02817, allocations: 63.59 kB / 259 MB, free: 15.72 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.02819, allocations: 0 / 259 MB, free: 15.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.02822, allocations: 45.39 kB / 259 MB, free: 15.67 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.542e-06/0.02822, allocations: 0 / 259 MB, free: 15.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.003993/0.03222, allocations: 313.5 kB / 259.3 MB, free: 15.35 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.03225, allocations: 51.41 kB / 259.4 MB, free: 15.29 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.03251, allocations: 288.3 kB / 259.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.03254, allocations: 33.64 kB / 259.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.03266, allocations: 235.2 kB / 259.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.03272, allocations: 75.33 kB / 260 MB, free: 14.64 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.032e-05/0.0328, allocations: 51.59 kB / 260 MB, free: 14.58 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.03294, allocations: 0.5039 MB / 260.5 MB, free: 14.06 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.311e-05/0.03304, allocations: 32.45 kB / 260.6 MB, free: 14.03 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.03315, allocations: 71.95 kB / 260.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.03336, allocations: 122.9 kB / 260.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.03336, allocations: 0 / 260.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004412/0.0338, allocations: 232.6 kB / 261 MB, free: 13.57 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.03382, allocations: 8 kB / 261 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.03383, allocations: 0 / 261 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/0.03422, allocations: 99.3 kB / 261.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003197/0.03742, allocations: 39.92 kB / 261.1 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.03986, allocations: 3.664 MB / 264.8 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.04001, allocations: 31.72 kB / 264.8 MB, free: 9.488 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.04003, allocations: 8 kB / 264.8 MB, free: 9.48 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.0001292/0.04015, allocations: 168.6 kB / 265 MB, free: 9.305 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.04021, allocations: 36.03 kB / 265 MB, free: 9.27 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.04026, allocations: 26.27 kB / 265.1 MB, free: 9.238 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.04026, allocations: 4 kB / 265.1 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.04027, allocations: 4 kB / 265.1 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.04028, allocations: 7.922 kB / 265.1 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000759/0.04104, allocations: 0.5515 MB / 265.6 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.04104, allocations: 4 kB / 265.6 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.04115, allocations: 31.92 kB / 265.7 MB, free: 8.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.04138, allocations: 99.23 kB / 265.8 MB, free: 8.477 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.04139, allocations: 0 / 265.8 MB, free: 8.477 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.04335, allocations: 3.668 MB / 269.4 MB, free: 4.562 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.04335, allocations: 8 kB / 269.4 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.04374, allocations: 363.5 kB / 269.8 MB, free: 4.172 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.04378, allocations: 31.78 kB / 269.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.0438, allocations: 192 / 269.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.04397, allocations: 31.98 kB / 269.9 MB, free: 4.109 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.04405, allocations: 27.89 kB / 269.9 MB, free: 4.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.04406, allocations: 8 kB / 269.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.0442, allocations: 201.1 kB / 270.1 MB, free: 3.875 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0442, allocations: 0 / 270.1 MB, free: 3.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003755/0.04458, allocations: 95.84 kB / 270.2 MB, free: 3.781 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.0001191/0.0447, allocations: 107.2 kB / 270.3 MB, free: 3.668 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005246/0.04522, allocations: 489.9 kB / 270.8 MB, free: 3.152 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.04523, allocations: 0 / 270.8 MB, free: 3.152 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.04553, allocations: 431.1 kB / 271.2 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.04589, allocations: 44.41 kB / 271.2 MB, free: 2.648 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.04702, allocations: 495.5 kB / 271.7 MB, free: 2.137 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.624e-05/0.04709, allocations: 88.31 kB / 271.8 MB, free: 2.031 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.632e-05/0.04718, allocations: 17.95 kB / 271.8 MB, free: 2.016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.04724, allocations: 24.48 kB / 271.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of SimCode: time 1.533e-06/0.04724, allocations: 0 / 271.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of Templates: time 0.007288/0.05453, allocations: 3.602 MB / 275.4 MB, free: 14.41 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.7701675831340253]