Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001599/0.001599, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002237/0.002237, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.593/1.593, allocations: 230.5 MB / 258.1 MB, free: 8.121 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.84 kB / 378.8 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2627, allocations: 53.31 MB / 432.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006422/0.2691, allocations: 4.305 MB / 436.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.2713, allocations: 1.032 MB / 437.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.2715, allocations: 11.94 kB / 437.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.2718, allocations: 99 kB / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.2723, allocations: 194.3 kB / 437.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.2727, allocations: 187.7 kB / 437.9 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008079/0.2735, allocations: 0.7361 MB / 438.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.2738, allocations: 163.1 kB / 438.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003896/0.2742, allocations: 286.9 kB / 439.1 MB, free: 308 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.2747, allocations: 334.5 kB / 439.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.238e-05/0.2748, allocations: 60 kB / 439.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.2749, allocations: 68 kB / 439.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.2751, allocations: 151.4 kB / 439.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.2754, allocations: 326.3 kB / 440 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008466/0.2763, allocations: 0.7235 MB / 440.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2763, allocations: 0 / 440.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2763, allocations: 7.875 kB / 440.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.2763, allocations: 0 / 440.7 MB, free: 14.64 MB / 350.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.001631/0.2779, allocations: 0.9347 MB / 441.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.278, allocations: 8.031 kB / 441.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003827/0.2783, allocations: 96.48 kB / 441.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.279, allocations: 402.1 kB / 442.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/0.2791, allocations: 45.69 kB / 442.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/0.2792, allocations: 56.33 kB / 442.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009534/0.2801, allocations: 0.5415 MB / 442.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.2801, allocations: 0 / 442.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/0.2802, allocations: 20 kB / 442.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.2802, allocations: 20 kB / 442.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/0.2811, allocations: 451.6 kB / 443.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003229/0.2843, allocations: 2.027 MB / 445.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.2853, allocations: 0.589 MB / 445.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006506/0.286, allocations: 358.2 kB / 446.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.286, allocations: 8.562 kB / 446.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.2861, allocations: 35.12 kB / 446.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.465e-06/0.2861, allocations: 4 kB / 446.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004797/0.2909, allocations: 2.037 MB / 448.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.2909, allocations: 63.91 kB / 448.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.2914, allocations: 365.7 kB / 448.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.2914, allocations: 33.7 kB / 448.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.2916, allocations: 245.4 kB / 449 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.2918, allocations: 210.2 kB / 449.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.292, allocations: 90.2 kB / 449.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.2921, allocations: 358.8 kB / 449.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.2925, allocations: 169 kB / 449.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.293, allocations: 211.8 kB / 450 MB, free: 4.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007632/0.2937, allocations: 380.9 kB / 450.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2937, allocations: 0 / 450.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001295/0.295, allocations: 0.658 MB / 451.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.295, allocations: 7.938 kB / 451.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.295, allocations: 0 / 451.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008726/0.2959, allocations: 267.1 kB / 451.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.2962, allocations: 59.91 kB / 451.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008184/0.3044, allocations: 7.507 MB / 458.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.3048, allocations: 20.02 kB / 458.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.3048, allocations: 12 kB / 458.9 MB, free: 11.43 MB / 366.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.0002779/0.3051, allocations: 185.8 kB / 459.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.3052, allocations: 51.67 kB / 459.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.3053, allocations: 61.03 kB / 459.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.3053, allocations: 8 kB / 459.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.3053, allocations: 3.938 kB / 459.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3053, allocations: 3.984 kB / 459.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.3076, allocations: 1.325 MB / 460.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3076, allocations: 8.062 kB / 460.6 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.3079, allocations: 59.89 kB / 460.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006876/0.3086, allocations: 263.5 kB / 460.9 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.3086, allocations: 12 kB / 460.9 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00749/0.3161, allocations: 7.505 MB / 468.4 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3161, allocations: 0 / 468.4 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.318, allocations: 1.022 MB / 469.4 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.3183, allocations: 160.8 kB / 469.6 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.3183, allocations: 8 kB / 469.6 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.3186, allocations: 19.97 kB / 469.6 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.3187, allocations: 60.42 kB / 469.7 MB, free: 0 / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.3188, allocations: 16.05 kB / 469.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.3191, allocations: 263.1 kB / 469.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3191, allocations: 0 / 469.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009082/0.32, allocations: 172 kB / 470.1 MB, free: 15.56 MB / 382.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.0001704/0.3202, allocations: 111.2 kB / 470.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.3219, allocations: 1.014 MB / 471.2 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3219, allocations: 3.938 kB / 471.2 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.3232, allocations: 0.8296 MB / 472.1 MB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.3238, allocations: 85.89 kB / 472.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.3265, allocations: 1.296 MB / 473.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.3271, allocations: 0.8792 MB / 474.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000197/0.3273, allocations: 56.53 kB / 474.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.762e-05/0.3274, allocations: 31.44 kB / 474.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3274, allocations: 0 / 474.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of Templates: time 0.01812/0.3455, allocations: 9.475 MB / 483.9 MB, free: 1.684 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.23308942001313]