Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 39.94 kB / 371.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2838, allocations: 52.18 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005954/0.2898, allocations: 4.278 MB / 428.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.2919, allocations: 0.9499 MB / 429.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003231/0.2922, allocations: 8 kB / 429.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.2925, allocations: 95 kB / 429.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006085/0.2931, allocations: 202.3 kB / 429.4 MB, free: 9.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.2934, allocations: 171.7 kB / 429.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008941/0.2943, allocations: 0.7283 MB / 430.3 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.2947, allocations: 159.7 kB / 430.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.2951, allocations: 290.9 kB / 430.8 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/0.2955, allocations: 330.6 kB / 431.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.787e-05/0.2956, allocations: 64 kB / 431.2 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.586e-05/0.2957, allocations: 60 kB / 431.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.2959, allocations: 147.5 kB / 431.4 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.2962, allocations: 326.3 kB / 431.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008079/0.297, allocations: 0.7196 MB / 432.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.297, allocations: 0 / 432.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.297, allocations: 0 / 432.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.297, allocations: 0 / 432.4 MB, free: 6.137 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001612/0.2986, allocations: 0.8516 MB / 433.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2987, allocations: 12.03 kB / 433.3 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.2988, allocations: 72.52 kB / 433.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.2994, allocations: 328.4 kB / 433.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.2994, allocations: 41.62 kB / 433.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.954e-05/0.2995, allocations: 48.38 kB / 433.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009458/0.3005, allocations: 0.5455 MB / 434.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.3005, allocations: 3.938 kB / 434.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.807e-05/0.3005, allocations: 20 kB / 434.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.3006, allocations: 12 kB / 434.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008718/0.3014, allocations: 447.7 kB / 434.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.3044, allocations: 1.979 MB / 436.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009249/0.3053, allocations: 0.515 MB / 437.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000622/0.3059, allocations: 362 kB / 437.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.653e-05/0.306, allocations: 16.38 kB / 437.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.306, allocations: 39.06 kB / 437.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 2.074e-06/0.306, allocations: 0 / 437.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004503/0.3105, allocations: 1.724 MB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.3106, allocations: 63.91 kB / 439.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/0.311, allocations: 365.6 kB / 439.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.311, allocations: 37.7 kB / 439.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.3112, allocations: 229.5 kB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.3114, allocations: 210.2 kB / 440.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.3115, allocations: 94.3 kB / 440.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3117, allocations: 354.8 kB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.3121, allocations: 169.2 kB / 440.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.3124, allocations: 212.8 kB / 441.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/0.3131, allocations: 386.1 kB / 441.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3131, allocations: 0 / 441.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001271/0.3144, allocations: 0.6563 MB / 442.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.3144, allocations: 15.38 kB / 442.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3144, allocations: 4.031 kB / 442.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007417/0.3152, allocations: 247.2 kB / 442.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.3155, allocations: 63.89 kB / 442.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007403/0.3229, allocations: 7.093 MB / 449.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.3232, allocations: 16 kB / 449.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.3233, allocations: 20.06 kB / 449.6 MB, free: 4.195 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002601/0.3235, allocations: 169.9 kB / 449.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/0.3236, allocations: 51.67 kB / 449.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.3238, allocations: 68.95 kB / 449.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3238, allocations: 4 kB / 449.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.3238, allocations: 3.938 kB / 449.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3238, allocations: 11.92 kB / 449.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.326, allocations: 1.291 MB / 451.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.326, allocations: 0 / 451.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.3263, allocations: 63.91 kB / 451.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006792/0.327, allocations: 255.2 kB / 451.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.327, allocations: 12 kB / 451.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007529/0.3346, allocations: 7.092 MB / 458.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.3346, allocations: 4.031 kB / 458.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.3365, allocations: 1.021 MB / 459.6 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.3367, allocations: 87.59 kB / 459.7 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.3367, allocations: 11.94 kB / 459.7 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.337, allocations: 15.98 kB / 459.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.3371, allocations: 56.39 kB / 459.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.3372, allocations: 16 kB / 459.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00032/0.3375, allocations: 255.2 kB / 460 MB, free: 9.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3375, allocations: 0 / 460 MB, free: 9.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009324/0.3384, allocations: 176 kB / 460.2 MB, free: 8.988 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001545/0.3386, allocations: 117.1 kB / 460.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.3404, allocations: 1.009 MB / 461.3 MB, free: 7.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3404, allocations: 0 / 461.3 MB, free: 7.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.3417, allocations: 0.8254 MB / 462.1 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.3422, allocations: 97.47 kB / 462.2 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.3447, allocations: 1.311 MB / 463.6 MB, free: 5.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006789/0.3454, allocations: 0.8714 MB / 464.4 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3455, allocations: 39.36 kB / 464.5 MB, free: 4.547 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3455, allocations: 0 / 464.5 MB, free: 4.547 MB / 366.1 MB Notification: Performance of Templates: time 0.01898/0.3645, allocations: 13.89 MB / 478.4 MB, free: 6.668 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.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: 8.828690018039197]