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.0008653/0.0008653, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.000906/0.000906, allocations: 163.3 kB / 24.91 MB, free: 8.762 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.9506/0.9506, allocations: 177 MB / 205.2 MB, free: 5.461 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.533e-06/1.533e-06, allocations: 0 / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.591e-05, allocations: 6.312 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004027/0.004053, allocations: 4.152 MB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.005253, allocations: 1.039 MB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.00539, allocations: 15.94 kB / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.005541, allocations: 99 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.005848, allocations: 214.1 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.006093, allocations: 199.6 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.006572, allocations: 0.7708 MB / 279.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.006759, allocations: 160.3 kB / 280 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003224/0.007081, allocations: 435 kB / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.007297, allocations: 251.2 kB / 280.7 MB, free: 9.859 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/0.007355, allocations: 60 kB / 280.8 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/0.00743, allocations: 64 kB / 280.8 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.678e-05/0.007527, allocations: 151.4 kB / 281 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.007674, allocations: 227.4 kB / 281.2 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.008028, allocations: 0.4942 MB / 281.7 MB, free: 8.871 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.008031, allocations: 0 / 281.7 MB, free: 8.871 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008032, allocations: 0 / 281.7 MB, free: 8.871 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.008036, allocations: 0 / 281.7 MB, free: 8.871 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.0007682/0.008805, allocations: 0.8344 MB / 282.5 MB, free: 8.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.703e-05/0.008832, allocations: 15.98 kB / 282.6 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.009015, allocations: 112.8 kB / 282.7 MB, free: 7.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.009269, allocations: 271.7 kB / 282.9 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.009292, allocations: 37.69 kB / 283 MB, free: 7.555 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.009338, allocations: 52.38 kB / 283 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.009678, allocations: 427.5 kB / 283.4 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.009689, allocations: 4.125 kB / 283.4 MB, free: 7.051 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.009714, allocations: 28.11 kB / 283.5 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.009725, allocations: 16 kB / 283.5 MB, free: 7.008 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.009929, allocations: 190.8 kB / 283.7 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.01116, allocations: 1.438 MB / 285.1 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.01149, allocations: 393.4 kB / 285.5 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.01168, allocations: 211 kB / 285.7 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.0117, allocations: 12.44 kB / 285.7 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.01173, allocations: 39.06 kB / 285.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 1.633e-06/0.01173, allocations: 0 / 285.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001569/0.0133, allocations: 1.133 MB / 286.9 MB, free: 3.484 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.01332, allocations: 59.84 kB / 286.9 MB, free: 3.414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.01348, allocations: 307.4 kB / 287.2 MB, free: 3.102 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.01351, allocations: 41.7 kB / 287.3 MB, free: 3.055 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.01358, allocations: 201.9 kB / 287.5 MB, free: 2.855 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.924e-05/0.01367, allocations: 218.1 kB / 287.7 MB, free: 2.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.01375, allocations: 94.25 kB / 287.8 MB, free: 2.543 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.01383, allocations: 358.7 kB / 288.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.0139, allocations: 57.28 kB / 288.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.944e-05/0.01399, allocations: 96.86 kB / 288.3 MB, free: 2.027 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.01417, allocations: 204.8 kB / 288.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01417, allocations: 4 kB / 288.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000364/0.01454, allocations: 380.4 kB / 288.9 MB, free: 1.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.01455, allocations: 8 kB / 288.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.01455, allocations: 0 / 288.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/0.01487, allocations: 191.2 kB / 289 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.015, allocations: 55.97 kB / 289.1 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1039/0.1189, allocations: 6.014 MB / 295.1 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.119, allocations: 16.05 kB / 295.1 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.119, allocations: 12.27 kB / 295.1 MB, free: 20.8 MB / 266.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.0001086/0.1192, allocations: 139.2 kB / 295.3 MB, free: 20.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.1192, allocations: 54.12 kB / 295.3 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.1192, allocations: 65.22 kB / 295.4 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1193, allocations: 6.438 kB / 295.4 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1193, allocations: 7.266 kB / 295.4 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1193, allocations: 4.859 kB / 295.4 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008286/0.1201, allocations: 0.7132 MB / 296.1 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1201, allocations: 0.7188 kB / 296.1 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.1202, allocations: 56.5 kB / 296.2 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003248/0.1206, allocations: 213.2 kB / 296.4 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1206, allocations: 11.67 kB / 296.4 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.1227, allocations: 6.034 MB / 302.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1227, allocations: 1.156 kB / 302.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/0.1233, allocations: 0.5861 MB / 303 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.541e-05/0.1234, allocations: 55.47 kB / 303.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.1234, allocations: 10.41 kB / 303.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1235, allocations: 12.95 kB / 303.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/0.1236, allocations: 59.92 kB / 303.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1236, allocations: 11.17 kB / 303.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.753e-05/0.1237, allocations: 127.3 kB / 303.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1237, allocations: 0 / 303.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004988/0.1242, allocations: 176.2 kB / 303.5 MB, free: 15.07 MB / 266.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 8.869e-05/0.1243, allocations: 96.44 kB / 303.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005984/0.1249, allocations: 0.8283 MB / 304.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.1249, allocations: 4.375 kB / 304.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004343/0.1254, allocations: 0.7377 MB / 305.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.1256, allocations: 88.67 kB / 305.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.1269, allocations: 1.079 MB / 306.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.1271, allocations: 149.8 kB / 306.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.466e-05/0.1271, allocations: 37.91 kB / 306.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.1273, allocations: 124.6 kB / 306.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1273, allocations: 1.062 kB / 306.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of Templates: time 0.01009/0.1374, allocations: 8.94 MB / 315.5 MB, free: 9.02 MB / 266.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: 2.946488098241389]