Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 161.6 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9838/0.9838, allocations: 177 MB / 205.9 MB, free: 4.41 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 274.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.356e-05, allocations: 2.312 kB / 274.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004076/0.004099, allocations: 4.151 MB / 278.3 MB, free: 88 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.005874, allocations: 0.9999 MB / 279.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002664/0.00614, allocations: 8 kB / 279.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.006358, allocations: 102.9 kB / 279.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004926/0.006851, allocations: 203.3 kB / 279.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.007259, allocations: 199.5 kB / 279.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006387/0.007898, allocations: 0.7708 MB / 280.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.00813, allocations: 151.6 kB / 280.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005292/0.008659, allocations: 439 kB / 281.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.008944, allocations: 251.2 kB / 281.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.009005, allocations: 60 kB / 281.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.652e-05/0.009102, allocations: 64 kB / 281.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.009215, allocations: 151.4 kB / 281.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.009384, allocations: 231.4 kB / 281.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.009801, allocations: 0.4904 MB / 282.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.009805, allocations: 0 / 282.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.009806, allocations: 3.938 kB / 282.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.009814, allocations: 0 / 282.4 MB, free: 11.99 MB / 266.7 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.0009394/0.01075, allocations: 0.963 MB / 283.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.01079, allocations: 8.031 kB / 283.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.01103, allocations: 132.5 kB / 283.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.01136, allocations: 334.5 kB / 283.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.01139, allocations: 45.61 kB / 283.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.01144, allocations: 52.38 kB / 283.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.01183, allocations: 435.4 kB / 284.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.01185, allocations: 4.125 kB / 284.3 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.01188, allocations: 28.12 kB / 284.4 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.01189, allocations: 12 kB / 284.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.01213, allocations: 206.7 kB / 284.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.01372, allocations: 1.98 MB / 286.6 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.01417, allocations: 435.8 kB / 287 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.01445, allocations: 233.6 kB / 287.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.01448, allocations: 12.5 kB / 287.2 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.01451, allocations: 37.89 kB / 287.3 MB, free: 6.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 1.894e-06/0.01451, allocations: 4 kB / 287.3 MB, free: 6.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001904/0.01641, allocations: 1.225 MB / 288.5 MB, free: 5.621 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.01644, allocations: 63.78 kB / 288.5 MB, free: 5.547 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.01665, allocations: 366.6 kB / 288.9 MB, free: 5.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.01668, allocations: 37.7 kB / 288.9 MB, free: 5.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.01681, allocations: 288 kB / 289.2 MB, free: 4.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.01692, allocations: 214.1 kB / 289.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.821e-05/0.01701, allocations: 95.95 kB / 289.5 MB, free: 4.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.01715, allocations: 0.5312 MB / 290.1 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.01724, allocations: 65.25 kB / 290.1 MB, free: 3.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.01735, allocations: 114.5 kB / 290.2 MB, free: 3.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.01756, allocations: 211.7 kB / 290.4 MB, free: 3.586 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.01756, allocations: 0 / 290.4 MB, free: 3.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005129/0.01808, allocations: 471.4 kB / 290.9 MB, free: 3.102 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.01809, allocations: 8.031 kB / 290.9 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.0181, allocations: 4 kB / 290.9 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.01847, allocations: 202.5 kB / 291.1 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.01864, allocations: 71.89 kB / 291.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004308/0.02295, allocations: 8.691 MB / 299.9 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.02312, allocations: 16 kB / 299.9 MB, free: 9.656 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.02314, allocations: 19.92 kB / 299.9 MB, free: 9.637 MB / 282.7 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.0001543/0.0233, allocations: 184 kB / 300.1 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.02337, allocations: 67.72 kB / 300.1 MB, free: 9.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.036e-05/0.02343, allocations: 60.8 kB / 300.2 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.02344, allocations: 12.03 kB / 300.2 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.02345, allocations: 4.125 kB / 300.2 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.02345, allocations: 3.984 kB / 300.2 MB, free: 9.305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.0245, allocations: 0.928 MB / 301.2 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.0245, allocations: 0 / 301.2 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.02465, allocations: 55.84 kB / 301.2 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003631/0.02501, allocations: 222.5 kB / 301.4 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.02504, allocations: 15.98 kB / 301.4 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004179/0.02922, allocations: 8.695 MB / 310.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.02922, allocations: 0 / 310.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007262/0.02995, allocations: 0.7158 MB / 310.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.03007, allocations: 87.48 kB / 310.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.0301, allocations: 12 kB / 311 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.03022, allocations: 15.98 kB / 311 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.03032, allocations: 56.39 kB / 311 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.03034, allocations: 12.12 kB / 311 MB, free: 13.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.03046, allocations: 247 kB / 311.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03046, allocations: 0 / 311.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005958/0.03106, allocations: 176 kB / 311.4 MB, free: 13.53 MB / 298.7 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.000111/0.03117, allocations: 115.2 kB / 311.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007887/0.03196, allocations: 1.061 MB / 312.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.03196, allocations: 0 / 312.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.03254, allocations: 0.9863 MB / 313.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.03285, allocations: 73.45 kB / 313.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.03435, allocations: 1.145 MB / 314.8 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.03446, allocations: 150.8 kB / 315 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.363e-05/0.03456, allocations: 40.36 kB / 315 MB, free: 9.758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.03471, allocations: 150.1 kB / 315.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03471, allocations: 0 / 315.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of Templates: time 0.0115/0.04621, allocations: 9.256 MB / 324.4 MB, free: 484 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.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: 3.2564866272732615]