Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.0009054/0.0009054, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.00231, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007763/0.0007763, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.001967, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.018/1.018, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09544/1.114, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.856e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005687/0.005716, allocations: 3.511 MB / 248.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.007784, allocations: 0.8681 MB / 249.1 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003643/0.008149, allocations: 7.938 kB / 249.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.008381, allocations: 83.2 kB / 249.2 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003979/0.008779, allocations: 138.7 kB / 249.3 MB, free: 9.578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.009196, allocations: 131.7 kB / 249.5 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006512/0.009847, allocations: 0.5287 MB / 250 MB, free: 8.918 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.01006, allocations: 96.28 kB / 250.1 MB, free: 8.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005442/0.0106, allocations: 338.4 kB / 250.4 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.01086, allocations: 159.5 kB / 250.6 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.699e-05/0.01093, allocations: 40 kB / 250.6 MB, free: 8.297 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.01107, allocations: 47.98 kB / 250.7 MB, free: 8.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.966e-05/0.01114, allocations: 67.75 kB / 250.7 MB, free: 8.184 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.01129, allocations: 127.8 kB / 250.8 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.01173, allocations: 310.8 kB / 251.1 MB, free: 7.754 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-05/0.01175, allocations: 0 / 251.1 MB, free: 7.754 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.145e-06/0.01175, allocations: 3.938 kB / 251.2 MB, free: 7.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.01177, allocations: 0 / 251.2 MB, free: 7.75 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00107/0.01284, allocations: 0.7253 MB / 251.9 MB, free: 7 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.01288, allocations: 11.98 kB / 251.9 MB, free: 6.988 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003664/0.01324, allocations: 158 kB / 252 MB, free: 6.816 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.01363, allocations: 237.6 kB / 252.3 MB, free: 6.555 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.01366, allocations: 29.03 kB / 252.3 MB, free: 6.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.0137, allocations: 28.38 kB / 252.3 MB, free: 6.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.01413, allocations: 353.1 kB / 252.7 MB, free: 6.117 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01414, allocations: 192 / 252.7 MB, free: 6.117 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.01416, allocations: 16.31 kB / 252.7 MB, free: 6.102 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.01417, allocations: 11.94 kB / 252.7 MB, free: 6.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.01429, allocations: 92.48 kB / 252.8 MB, free: 6 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.01531, allocations: 1.031 MB / 253.8 MB, free: 4.902 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.01548, allocations: 143.3 kB / 254 MB, free: 4.754 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.01553, allocations: 44.84 kB / 254 MB, free: 4.707 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.01555, allocations: 4 kB / 254 MB, free: 4.703 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.01557, allocations: 38.56 kB / 254.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.01558, allocations: 0 / 254.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005651/0.01614, allocations: 299.5 kB / 254.3 MB, free: 4.352 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.01617, allocations: 55.41 kB / 254.4 MB, free: 4.285 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.01632, allocations: 274.9 kB / 254.7 MB, free: 4.004 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.01634, allocations: 33.7 kB / 254.7 MB, free: 3.965 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.01642, allocations: 189 kB / 254.9 MB, free: 3.773 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.01646, allocations: 79.31 kB / 255 MB, free: 3.695 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.01652, allocations: 49.69 kB / 255 MB, free: 3.641 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.01665, allocations: 350.7 kB / 255.4 MB, free: 3.289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.01668, allocations: 20 kB / 255.4 MB, free: 3.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.01675, allocations: 72.25 kB / 255.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.01687, allocations: 112.1 kB / 255.6 MB, free: 3.059 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.01687, allocations: 0 / 255.6 MB, free: 3.059 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002789/0.01715, allocations: 207.8 kB / 255.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.01717, allocations: 4 kB / 255.8 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.01718, allocations: 4 kB / 255.8 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/0.01742, allocations: 98.53 kB / 255.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.01753, allocations: 27.98 kB / 255.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.01984, allocations: 4.162 MB / 260 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.01997, allocations: 19.89 kB / 260.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.01998, allocations: 7.984 kB / 260.1 MB, free: 14.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (With_Ron_Goff_Vknee.off,With_Ron_Goff.off,Ideal.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.02012, allocations: 121.8 kB / 260.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.02017, allocations: 35.91 kB / 260.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.0202, allocations: 39.23 kB / 260.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.0202, allocations: 4 kB / 260.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.02021, allocations: 0 / 260.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.02021, allocations: 0 / 260.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.02044, allocations: 185.6 kB / 260.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.02045, allocations: 0 / 260.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.0205, allocations: 23.92 kB / 260.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.02057, allocations: 39.75 kB / 260.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001766/0.02075, allocations: 78.52 kB / 260.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.02076, allocations: 7.938 kB / 260.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.02309, allocations: 4.147 MB / 264.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.02309, allocations: 0 / 264.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.02339, allocations: 265.8 kB / 265 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.02341, allocations: 8 kB / 265 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.02352, allocations: 15.98 kB / 265 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.02362, allocations: 27.94 kB / 265.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.02364, allocations: 8 kB / 265.1 MB, free: 8.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.334e-05/0.02373, allocations: 100.6 kB / 265.2 MB, free: 8.844 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02373, allocations: 32 / 265.2 MB, free: 8.844 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004649/0.02419, allocations: 127.7 kB / 265.3 MB, free: 8.719 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: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001231/0.02432, allocations: 84.5 kB / 265.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004648/0.02478, allocations: 478.2 kB / 265.8 MB, free: 8.125 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.938e-05/0.0248, allocations: 7.984 kB / 265.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.02507, allocations: 452.6 kB / 266.3 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.02556, allocations: 0.5556 MB / 266.8 MB, free: 6.969 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.02867, allocations: 0.6406 MB / 267.5 MB, free: 6.297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.587e-05/0.02876, allocations: 100.6 kB / 267.6 MB, free: 6.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.712e-05/0.02884, allocations: 26.27 kB / 267.6 MB, free: 6.152 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.02897, allocations: 103.3 kB / 267.7 MB, free: 6.051 MB / 266.7 MB Notification: Performance of SimCode: time 1.503e-06/0.02897, allocations: 0 / 267.7 MB, free: 6.051 MB / 266.7 MB Notification: Performance of Templates: time 0.007736/0.03671, allocations: 5.441 MB / 273.1 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.945191303268075]