Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007728/0.0007728, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.00187, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007556/0.0007556, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009422/0.001698, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9835/0.9835, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0943/1.078, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.204e-05, allocations: 6.25 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003251/0.003273, allocations: 3.06 MB / 247.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.004483, allocations: 0.7786 MB / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.004618, allocations: 7.938 kB / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.45e-05/0.004712, allocations: 51.44 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.004871, allocations: 111 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.005075, allocations: 103.8 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.005403, allocations: 430 kB / 249.1 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.005548, allocations: 82.14 kB / 249.1 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.005867, allocations: 268 kB / 249.4 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.005996, allocations: 123.7 kB / 249.5 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.006034, allocations: 32 kB / 249.6 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.006114, allocations: 32 kB / 249.6 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.006149, allocations: 51.81 kB / 249.6 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.895e-05/0.006228, allocations: 107.8 kB / 249.8 MB, free: 9.059 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.006477, allocations: 251.1 kB / 250 MB, free: 8.812 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.006491, allocations: 0 / 250 MB, free: 8.812 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006491, allocations: 0 / 250 MB, free: 8.812 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.006507, allocations: 0 / 250 MB, free: 8.812 MB / 250.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.0006366/0.007143, allocations: 0.6088 MB / 250.6 MB, free: 8.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.007173, allocations: 12.03 kB / 250.6 MB, free: 8.168 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.007341, allocations: 130 kB / 250.7 MB, free: 8.023 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.007553, allocations: 197.2 kB / 250.9 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.00757, allocations: 21.03 kB / 251 MB, free: 7.785 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.007594, allocations: 28.38 kB / 251 MB, free: 7.758 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.007858, allocations: 345.5 kB / 251.3 MB, free: 7.371 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.007867, allocations: 192 / 251.3 MB, free: 7.371 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.007884, allocations: 16.38 kB / 251.3 MB, free: 7.355 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.007893, allocations: 7.938 kB / 251.3 MB, free: 7.348 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.166e-05/0.007985, allocations: 68.55 kB / 251.4 MB, free: 7.281 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007919/0.008777, allocations: 0.6503 MB / 252.1 MB, free: 6.598 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.008993, allocations: 150.8 kB / 252.2 MB, free: 6.441 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.009042, allocations: 56.7 kB / 252.3 MB, free: 6.383 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.009058, allocations: 4 kB / 252.3 MB, free: 6.379 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.009082, allocations: 38.55 kB / 252.3 MB, free: 6.332 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.009084, allocations: 0 / 252.3 MB, free: 6.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004462/0.00953, allocations: 263 kB / 252.6 MB, free: 6.062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.009555, allocations: 55.41 kB / 252.6 MB, free: 5.996 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.009677, allocations: 221 kB / 252.8 MB, free: 5.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.009703, allocations: 33.7 kB / 252.9 MB, free: 5.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.009769, allocations: 169 kB / 253 MB, free: 5.559 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.009807, allocations: 75.36 kB / 253.1 MB, free: 5.484 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.009857, allocations: 45.92 kB / 253.2 MB, free: 5.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.009936, allocations: 334.8 kB / 253.5 MB, free: 5.094 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.009965, allocations: 28.45 kB / 253.5 MB, free: 5.066 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.604e-05/0.01001, allocations: 51.47 kB / 253.6 MB, free: 5.008 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.728e-05/0.0101, allocations: 101 kB / 253.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.0101, allocations: 0 / 253.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004418/0.01054, allocations: 175.1 kB / 253.8 MB, free: 4.719 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.01056, allocations: 11.59 kB / 253.8 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.01056, allocations: 0 / 253.8 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.01078, allocations: 85.7 kB / 253.9 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01088, allocations: 43.91 kB / 254 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.01206, allocations: 2.487 MB / 256.4 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.645e-05/0.01213, allocations: 27.83 kB / 256.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-06/0.01214, allocations: 0 / 256.5 MB, free: 1.891 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 7.946e-05/0.01222, allocations: 126.1 kB / 256.6 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.01225, allocations: 19.98 kB / 256.6 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.01227, allocations: 34.2 kB / 256.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01228, allocations: 7.938 kB / 256.7 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.01229, allocations: 4 kB / 256.7 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01229, allocations: 3.984 kB / 256.7 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.01269, allocations: 395.4 kB / 257.1 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.0127, allocations: 0 / 257.1 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.154e-05/0.01276, allocations: 27.92 kB / 257.1 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.01278, allocations: 23.78 kB / 257.1 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.01293, allocations: 85.64 kB / 257.2 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.01293, allocations: 4 kB / 257.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.01395, allocations: 2.487 MB / 259.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01395, allocations: 256 / 259.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.01414, allocations: 261.6 kB / 259.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.01415, allocations: 7.938 kB / 259.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/0.01425, allocations: 32.02 kB / 260 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.0143, allocations: 23.89 kB / 260 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.01431, allocations: 8 kB / 260 MB, free: 14.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.447e-05/0.01437, allocations: 74.78 kB / 260.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01437, allocations: 0 / 260.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.0146, allocations: 95.84 kB / 260.2 MB, free: 13.95 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 8.298e-05/0.01468, allocations: 84.42 kB / 260.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.01497, allocations: 349.3 kB / 260.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.01498, allocations: 4 kB / 260.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004209/0.0154, allocations: 313.1 kB / 260.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.01561, allocations: 64.59 kB / 261 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.01832, allocations: 0.4967 MB / 261.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.857e-05/0.01838, allocations: 96.3 kB / 261.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.964e-05/0.01845, allocations: 17.94 kB / 261.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.01857, allocations: 95.34 kB / 261.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01857, allocations: 4 kB / 261.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of Templates: time 0.006061/0.02463, allocations: 3.926 MB / 265.6 MB, free: 8.477 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.554277523420751]