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.001941/0.001941, allocations: 89.53 kB / 20.69 MB, free: 1.02 MB / 14.72 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.00226/0.00226, allocations: 157.8 kB / 23.95 MB, free: 4.148 MB / 14.72 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 1.469/1.469, allocations: 177 MB / 204.1 MB, free: 9.137 MB / 190.1 MB " [Timeout remaining time 178] 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 2.154e-06/2.154e-06, allocations: 1.156 kB / 325 MB, free: 468 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.216e-05, allocations: 2.281 kB / 325 MB, free: 464 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006521/0.006553, allocations: 3.862 MB / 328.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.009206, allocations: 0.9841 MB / 329.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.009515, allocations: 8.125 kB / 329.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.009857, allocations: 107.3 kB / 330 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007009/0.01056, allocations: 203.7 kB / 330.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000664/0.01122, allocations: 205.6 kB / 330.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.01239, allocations: 0.7784 MB / 331.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.01279, allocations: 151.9 kB / 331.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007405/0.01353, allocations: 434.4 kB / 331.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000442/0.01397, allocations: 244.7 kB / 332 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.01409, allocations: 59.72 kB / 332 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.01426, allocations: 67.22 kB / 332.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.01446, allocations: 154.8 kB / 332.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.01476, allocations: 225.5 kB / 332.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009005/0.01566, allocations: 0.7408 MB / 333.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.01567, allocations: 0 / 333.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.01567, allocations: 1.188 kB / 333.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.01568, allocations: 0 / 333.2 MB, free: 11.1 MB / 302.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.001746/0.01743, allocations: 0.8524 MB / 334.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.01748, allocations: 14.08 kB / 334.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004191/0.0179, allocations: 99.86 kB / 334.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006851/0.01859, allocations: 333.8 kB / 334.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.01863, allocations: 38.84 kB / 334.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.01873, allocations: 53.39 kB / 334.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.01977, allocations: 0.5458 MB / 335.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.01978, allocations: 192 / 335.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.01984, allocations: 32.73 kB / 335.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.01985, allocations: 12.56 kB / 335.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008971/0.02075, allocations: 443.3 kB / 335.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002828/0.02358, allocations: 1.776 MB / 337.4 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009895/0.02457, allocations: 0.5273 MB / 337.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.02522, allocations: 369.7 kB / 338.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.02527, allocations: 7.25 kB / 338.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.02531, allocations: 38.56 kB / 338.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 1.984e-06/0.02531, allocations: 0 / 338.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.00476/0.03007, allocations: 1.719 MB / 340.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.03013, allocations: 63.84 kB / 340.1 MB, free: 5.688 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.03053, allocations: 337.7 kB / 340.5 MB, free: 5.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.03058, allocations: 37.7 kB / 340.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.03077, allocations: 241.3 kB / 340.7 MB, free: 5.066 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.03094, allocations: 210.2 kB / 340.9 MB, free: 4.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.0311, allocations: 86.34 kB / 341 MB, free: 4.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.03128, allocations: 358.8 kB / 341.4 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.03165, allocations: 165.2 kB / 341.5 MB, free: 4.246 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.03206, allocations: 212.8 kB / 341.7 MB, free: 4.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007659/0.03282, allocations: 386.1 kB / 342.1 MB, free: 3.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.03282, allocations: 0 / 342.1 MB, free: 3.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00133/0.03415, allocations: 0.6602 MB / 342.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.03417, allocations: 4 kB / 342.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.03418, allocations: 4 kB / 342.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007962/0.03498, allocations: 255.1 kB / 343 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.03529, allocations: 55.91 kB / 343.1 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007556/0.04285, allocations: 6.939 MB / 350 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.04321, allocations: 32.14 kB / 350.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.04325, allocations: 16 kB / 350.1 MB, free: 11.25 MB / 318.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.0002765/0.04353, allocations: 170.1 kB / 350.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.04362, allocations: 51.66 kB / 350.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.04375, allocations: 68.73 kB / 350.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.04376, allocations: 4 kB / 350.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.04377, allocations: 4 kB / 350.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.04378, allocations: 7.984 kB / 350.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.04602, allocations: 1.156 MB / 351.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.04603, allocations: 4 kB / 351.5 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.04635, allocations: 55.89 kB / 351.6 MB, free: 9.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007425/0.04709, allocations: 259.2 kB / 351.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.04713, allocations: 15.94 kB / 351.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007506/0.05464, allocations: 6.939 MB / 358.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.05464, allocations: 0 / 358.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.05656, allocations: 1.021 MB / 359.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.05676, allocations: 83.66 kB / 359.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.05683, allocations: 15.94 kB / 359.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.05709, allocations: 19.98 kB / 359.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.05725, allocations: 52.34 kB / 360 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.05729, allocations: 19.98 kB / 360 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002817/0.05757, allocations: 239.2 kB / 360.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.05757, allocations: 4 kB / 360.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009285/0.0585, allocations: 176 kB / 360.4 MB, free: 424 kB / 318.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.0001805/0.05868, allocations: 111.1 kB / 360.5 MB, free: 304 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.06055, allocations: 1.017 MB / 361.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.06055, allocations: 0 / 361.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.06185, allocations: 0.8214 MB / 362.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.06238, allocations: 80.16 kB / 362.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.06464, allocations: 1.165 MB / 363.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.06494, allocations: 283.6 kB / 363.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.06508, allocations: 44.36 kB / 363.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.948e-05/0.06517, allocations: 36.48 kB / 364 MB, free: 12.7 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.06517, allocations: 0 / 364 MB, free: 12.7 MB / 334.1 MB Notification: Performance of Templates: time 0.01722/0.08239, allocations: 8.395 MB / 372.3 MB, free: 4.406 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.061532285064459]