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.002084/0.002084, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002348/0.002348, allocations: 168 kB / 25.02 MB, free: 8.43 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.382/1.382, allocations: 158.6 MB / 186.8 MB, free: 2.863 MB / 170.7 MB " [Timeout remaining time 178] 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 2.304e-06/2.304e-06, allocations: 0 / 250.4 MB, free: 4.039 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.69e-05/3.92e-05, allocations: 6.25 kB / 250.4 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.005991/0.00603, allocations: 2.745 MB / 253.1 MB, free: 1.27 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.007428, allocations: 0.6981 MB / 253.8 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.007565, allocations: 4 kB / 253.8 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.007755, allocations: 63.38 kB / 253.9 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.007968, allocations: 103 kB / 254 MB, free: 404 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.008251, allocations: 87.86 kB / 254.1 MB, free: 316 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005424/0.008794, allocations: 437.9 kB / 254.5 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.008987, allocations: 71.64 kB / 254.6 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.009339, allocations: 227.5 kB / 254.8 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.009536, allocations: 123.6 kB / 254.9 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.009598, allocations: 32 kB / 254.9 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.954e-05/0.009657, allocations: 35.94 kB / 255 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.009738, allocations: 71.73 kB / 255 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.0099, allocations: 123.7 kB / 255.2 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.01042, allocations: 402.7 kB / 255.5 MB, free: 14.81 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.01042, allocations: 0 / 255.5 MB, free: 14.81 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01042, allocations: 4 kB / 255.5 MB, free: 14.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.01043, allocations: 0 / 255.5 MB, free: 14.8 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.001131/0.01156, allocations: 0.5598 MB / 256.1 MB, free: 14.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.0116, allocations: 15.98 kB / 256.1 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.01173, allocations: 60.7 kB / 256.2 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.01217, allocations: 229.1 kB / 256.4 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.01221, allocations: 21.03 kB / 256.4 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.01226, allocations: 28.38 kB / 256.5 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.01295, allocations: 412.9 kB / 256.9 MB, free: 13.4 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.01296, allocations: 192 / 256.9 MB, free: 13.4 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.013, allocations: 12.38 kB / 256.9 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.01301, allocations: 11.94 kB / 256.9 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.01357, allocations: 214.5 kB / 257.1 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.01536, allocations: 0.8063 MB / 257.9 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.01591, allocations: 206.6 kB / 258.1 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.01616, allocations: 96.8 kB / 258.2 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.01618, allocations: 8 kB / 258.2 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.01622, allocations: 34.56 kB / 258.2 MB, free: 11.95 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/0.01622, allocations: 0 / 258.2 MB, free: 11.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.001397/0.01762, allocations: 419.7 kB / 258.6 MB, free: 11.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.01767, allocations: 55.41 kB / 258.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.01798, allocations: 241.7 kB / 258.9 MB, free: 11.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.01801, allocations: 33.7 kB / 259 MB, free: 11.17 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.01818, allocations: 192.5 kB / 259.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.01825, allocations: 75.27 kB / 259.2 MB, free: 10.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/0.01835, allocations: 49.89 kB / 259.3 MB, free: 10.85 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.01856, allocations: 334.8 kB / 259.6 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.01885, allocations: 76.42 kB / 259.7 MB, free: 10.44 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.01919, allocations: 107.5 kB / 259.8 MB, free: 10.33 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.01963, allocations: 186.4 kB / 260 MB, free: 10.14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01963, allocations: 4 kB / 260 MB, free: 10.13 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007479/0.02038, allocations: 322.9 kB / 260.3 MB, free: 9.805 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.0204, allocations: 4 kB / 260.3 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.02041, allocations: 12.05 kB / 260.3 MB, free: 9.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/0.02087, allocations: 105.6 kB / 260.4 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.02108, allocations: 35.92 kB / 260.4 MB, free: 9.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/0.02407, allocations: 2.787 MB / 263.2 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.02427, allocations: 28 kB / 263.3 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.0243, allocations: 11.98 kB / 263.3 MB, free: 6.617 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.0001885/0.02449, allocations: 133.8 kB / 263.4 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.02455, allocations: 35.8 kB / 263.4 MB, free: 6.441 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.02461, allocations: 30.27 kB / 263.5 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.02462, allocations: 4 kB / 263.5 MB, free: 6.406 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.02462, allocations: 0 / 263.5 MB, free: 6.406 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.02463, allocations: 7.938 kB / 263.5 MB, free: 6.398 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.02578, allocations: 0.5741 MB / 264 MB, free: 5.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.02578, allocations: 0 / 264 MB, free: 5.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.02593, allocations: 27.92 kB / 264.1 MB, free: 5.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003788/0.02631, allocations: 101.8 kB / 264.2 MB, free: 5.645 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.02633, allocations: 8 kB / 264.2 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0029/0.02923, allocations: 2.787 MB / 267 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.02924, allocations: 3.984 kB / 267 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007848/0.03002, allocations: 385.6 kB / 267.4 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.03008, allocations: 19.8 kB / 267.4 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.03011, allocations: 11.94 kB / 267.4 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.03036, allocations: 27.97 kB / 267.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/0.03044, allocations: 27.89 kB / 267.4 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.03046, allocations: 4 kB / 267.4 MB, free: 2.156 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000196/0.03066, allocations: 181.2 kB / 267.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03066, allocations: 0 / 267.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004441/0.0311, allocations: 99.78 kB / 267.7 MB, free: 1.879 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.000157/0.03126, allocations: 103.2 kB / 267.8 MB, free: 1.77 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009222/0.03218, allocations: 443.7 kB / 268.2 MB, free: 1.312 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.03219, allocations: 0 / 268.2 MB, free: 1.312 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005182/0.0327, allocations: 337 kB / 268.6 MB, free: 0.957 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.03312, allocations: 55.66 kB / 268.6 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.03425, allocations: 493.1 kB / 269.1 MB, free: 404 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.03444, allocations: 155.5 kB / 269.3 MB, free: 232 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.03455, allocations: 21.94 kB / 269.3 MB, free: 208 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.03461, allocations: 20.5 kB / 269.3 MB, free: 188 kB / 250.7 MB Notification: Performance of SimCode: time 7.92e-07/0.03461, allocations: 0 / 269.3 MB, free: 188 kB / 250.7 MB Notification: Performance of Templates: time 0.009084/0.0437, allocations: 3.574 MB / 272.9 MB, free: 12.63 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.688790104002692]