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.0007548/0.0007548, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.00176, allocations: 445.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.0007003/0.0007003, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008909/0.001591, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9075/0.9075, allocations: 158.6 MB / 171.1 MB, free: 2.594 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.154/1.062, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.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.222e-06/1.222e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.063e-05, allocations: 2.312 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.002823/0.002844, allocations: 2.997 MB / 224.8 MB, free: 13.15 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008897/0.003734, allocations: 0.7368 MB / 225.6 MB, free: 12.4 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.003901, allocations: 8 kB / 225.6 MB, free: 12.39 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.00401, allocations: 63.38 kB / 225.6 MB, free: 12.33 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.004168, allocations: 103 kB / 225.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.004356, allocations: 91.8 kB / 225.8 MB, free: 12.14 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.004638, allocations: 422 kB / 226.2 MB, free: 11.73 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.004773, allocations: 86.23 kB / 226.3 MB, free: 11.64 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.005074, allocations: 260.1 kB / 226.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.005207, allocations: 127.6 kB / 226.7 MB, free: 11.27 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.005248, allocations: 32 kB / 226.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.259e-05/0.005281, allocations: 32 kB / 226.8 MB, free: 11.2 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.005319, allocations: 51.81 kB / 226.8 MB, free: 11.15 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.005398, allocations: 99.81 kB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.005615, allocations: 243.1 kB / 227.2 MB, free: 10.82 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.295e-05/0.005628, allocations: 0 / 227.2 MB, free: 10.82 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005629, allocations: 0 / 227.2 MB, free: 10.82 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.005643, allocations: 0 / 227.2 MB, free: 10.82 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.0006272/0.00627, allocations: 0.6089 MB / 227.8 MB, free: 10.18 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.0063, allocations: 8.031 kB / 227.8 MB, free: 10.18 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.00636, allocations: 48.89 kB / 227.8 MB, free: 10.13 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.006574, allocations: 197.2 kB / 228 MB, free: 9.91 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.00659, allocations: 21.03 kB / 228 MB, free: 9.891 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.006616, allocations: 28.38 kB / 228.1 MB, free: 9.863 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.006911, allocations: 345.5 kB / 228.4 MB, free: 9.477 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.006922, allocations: 8.172 kB / 228.4 MB, free: 9.469 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.00694, allocations: 8.375 kB / 228.4 MB, free: 9.461 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.006953, allocations: 11.94 kB / 228.4 MB, free: 9.449 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.007045, allocations: 64.56 kB / 228.5 MB, free: 9.391 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008828/0.007928, allocations: 0.6543 MB / 229.1 MB, free: 8.703 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.008168, allocations: 158.7 kB / 229.3 MB, free: 8.539 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.008222, allocations: 52.52 kB / 229.3 MB, free: 8.488 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.008239, allocations: 4 kB / 229.4 MB, free: 8.484 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.008268, allocations: 38.55 kB / 229.4 MB, free: 8.438 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 2.936e-06/0.008271, allocations: 7.984 kB / 229.4 MB, free: 8.43 MB / 234.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005044/0.008775, allocations: 255.5 kB / 229.6 MB, free: 8.168 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.008802, allocations: 51.41 kB / 229.7 MB, free: 8.105 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.008938, allocations: 225 kB / 229.9 MB, free: 7.871 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.008956, allocations: 29.7 kB / 229.9 MB, free: 7.836 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.00903, allocations: 172.4 kB / 230.1 MB, free: 7.664 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.009069, allocations: 75.36 kB / 230.2 MB, free: 7.59 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.009131, allocations: 49.88 kB / 230.2 MB, free: 7.535 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.009214, allocations: 338.8 kB / 230.6 MB, free: 7.195 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/0.009246, allocations: 20.45 kB / 230.6 MB, free: 7.176 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.89e-05/0.009295, allocations: 51.48 kB / 230.6 MB, free: 7.117 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/0.009388, allocations: 102.2 kB / 230.7 MB, free: 7.008 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.00939, allocations: 0 / 230.7 MB, free: 7.008 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002477/0.009638, allocations: 179.1 kB / 230.9 MB, free: 6.82 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.009653, allocations: 4 kB / 230.9 MB, free: 6.816 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.009665, allocations: 0 / 230.9 MB, free: 6.816 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002338/0.009899, allocations: 89.7 kB / 231 MB, free: 6.723 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.01001, allocations: 43.91 kB / 231 MB, free: 6.68 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.01139, allocations: 2.486 MB / 233.5 MB, free: 4.016 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.01154, allocations: 27.83 kB / 233.6 MB, free: 3.988 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.01156, allocations: 11.98 kB / 233.6 MB, free: 3.977 MB / 234.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 9.992e-05/0.01166, allocations: 113.8 kB / 233.7 MB, free: 3.855 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.01169, allocations: 19.98 kB / 233.7 MB, free: 3.836 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.01172, allocations: 38.2 kB / 233.7 MB, free: 3.805 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01172, allocations: 0 / 233.7 MB, free: 3.805 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.01173, allocations: 8.031 kB / 233.7 MB, free: 3.797 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01173, allocations: 3.938 kB / 233.8 MB, free: 3.793 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.01215, allocations: 388.6 kB / 234.1 MB, free: 3.379 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01215, allocations: 0 / 234.1 MB, free: 3.379 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.01223, allocations: 27.92 kB / 234.2 MB, free: 3.352 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.01225, allocations: 19.8 kB / 234.2 MB, free: 3.332 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.01242, allocations: 93.61 kB / 234.3 MB, free: 3.234 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.01243, allocations: 4 kB / 234.3 MB, free: 3.23 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.01354, allocations: 2.475 MB / 236.7 MB, free: 0.582 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01354, allocations: 0 / 236.7 MB, free: 0.582 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.01376, allocations: 265.7 kB / 237 MB, free: 308 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.01377, allocations: 7.938 kB / 237 MB, free: 300 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01388, allocations: 27.97 kB / 237 MB, free: 272 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.01394, allocations: 19.91 kB / 237.1 MB, free: 252 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.01395, allocations: 11.98 kB / 237.1 MB, free: 240 kB / 234.7 MB Notification: Performance of sorting global known variables: time 6.79e-05/0.01402, allocations: 78.78 kB / 237.1 MB, free: 156 kB / 234.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01402, allocations: 0 / 237.1 MB, free: 156 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002351/0.01425, allocations: 99.78 kB / 237.2 MB, free: 56 kB / 234.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.0001136/0.01437, allocations: 84.42 kB / 237.3 MB, free: 15.96 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003334/0.0147, allocations: 352.6 kB / 237.7 MB, free: 15.59 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.01471, allocations: 4 kB / 237.7 MB, free: 15.59 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.01488, allocations: 306 kB / 238 MB, free: 15.26 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.01511, allocations: 68.41 kB / 238 MB, free: 15.2 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.01788, allocations: 0.4899 MB / 238.5 MB, free: 14.67 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.15e-05/0.01795, allocations: 92.25 kB / 238.6 MB, free: 14.56 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.311e-05/0.01802, allocations: 25.94 kB / 238.6 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.01814, allocations: 95.34 kB / 238.7 MB, free: 14.44 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01814, allocations: 0 / 238.7 MB, free: 14.44 MB / 250.7 MB Notification: Performance of Templates: time 0.005685/0.02383, allocations: 3.923 MB / 242.7 MB, free: 10.54 MB / 250.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 -ignoreHideResult -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.5730320289731026]