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.001724/0.001724, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002171/0.002171, allocations: 213.7 kB / 24.5 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.479/1.479, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.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 0.002199/0.002199, allocations: 67.91 kB / 379.1 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2856, allocations: 53.4 MB / 432.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005522/0.2911, allocations: 4.302 MB / 436.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.2933, allocations: 1.04 MB / 437.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002755/0.2935, allocations: 11.94 kB / 437.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.2938, allocations: 99 kB / 437.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005034/0.2943, allocations: 198.3 kB / 438.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.2947, allocations: 187.7 kB / 438.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008092/0.2955, allocations: 0.7439 MB / 439 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.2958, allocations: 159.7 kB / 439.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004251/0.2963, allocations: 306.8 kB / 439.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.2967, allocations: 334.5 kB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.43e-05/0.2968, allocations: 60 kB / 439.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.2969, allocations: 64 kB / 439.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.2971, allocations: 151.4 kB / 440.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003329/0.2974, allocations: 326.3 kB / 440.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000846/0.2983, allocations: 0.725 MB / 441.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2983, allocations: 0 / 441.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2983, allocations: 0 / 441.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.016e-06/0.2983, allocations: 4 kB / 441.1 MB, free: 14.02 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.001534/0.2998, allocations: 0.8555 MB / 442 MB, free: 13.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2999, allocations: 12.03 kB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003531/0.3002, allocations: 92.48 kB / 442.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.3008, allocations: 348.3 kB / 442.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.3009, allocations: 37.69 kB / 442.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/0.301, allocations: 64.2 kB / 442.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000911/0.3019, allocations: 0.5416 MB / 443.1 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.3019, allocations: 3.938 kB / 443.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.3019, allocations: 20 kB / 443.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.3019, allocations: 12 kB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.303, allocations: 447.7 kB / 443.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.3058, allocations: 1.987 MB / 445.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008756/0.3066, allocations: 0.5112 MB / 446 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005723/0.3072, allocations: 358 kB / 446.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/0.3073, allocations: 12.48 kB / 446.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.3073, allocations: 43 kB / 446.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.794e-06/0.3073, allocations: 0 / 446.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004231/0.3115, allocations: 1.725 MB / 448.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3116, allocations: 59.89 kB / 448.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.312, allocations: 373.7 kB / 448.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.312, allocations: 33.7 kB / 448.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.3122, allocations: 233.4 kB / 448.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.3124, allocations: 214.2 kB / 449.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3125, allocations: 102.2 kB / 449.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3127, allocations: 354.8 kB / 449.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.313, allocations: 173.2 kB / 449.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.3134, allocations: 216.8 kB / 449.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006792/0.3141, allocations: 386.1 kB / 450.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3141, allocations: 0 / 450.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001228/0.3153, allocations: 0.6564 MB / 450.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3153, allocations: 7.938 kB / 450.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3153, allocations: 3.938 kB / 450.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007265/0.316, allocations: 255.2 kB / 451.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.3163, allocations: 59.89 kB / 451.2 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007149/0.3235, allocations: 7.076 MB / 458.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.3238, allocations: 20.02 kB / 458.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.3238, allocations: 16 kB / 458.4 MB, free: 12.03 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.0002689/0.3241, allocations: 178.2 kB / 458.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/0.3242, allocations: 55.61 kB / 458.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.3243, allocations: 61.03 kB / 458.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3243, allocations: 8 kB / 458.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3243, allocations: 3.938 kB / 458.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3244, allocations: 3.984 kB / 458.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.3266, allocations: 1.303 MB / 460 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3266, allocations: 0 / 460 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.3269, allocations: 55.91 kB / 460 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006718/0.3275, allocations: 255.2 kB / 460.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.3276, allocations: 15.98 kB / 460.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00742/0.335, allocations: 7.1 MB / 467.4 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.335, allocations: 4.031 kB / 467.4 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.3369, allocations: 1.013 MB / 468.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.3371, allocations: 83.66 kB / 468.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.3371, allocations: 12.09 kB / 468.5 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.3374, allocations: 23.92 kB / 468.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.3375, allocations: 56.33 kB / 468.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.3375, allocations: 16 kB / 468.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.3379, allocations: 263.2 kB / 468.8 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3379, allocations: 0 / 468.8 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009014/0.3388, allocations: 172 kB / 469 MB, free: 0.7969 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.000226/0.339, allocations: 122.7 kB / 469.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.3408, allocations: 1.012 MB / 470.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3408, allocations: 4 kB / 470.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.342, allocations: 0.8253 MB / 471 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.3425, allocations: 100.1 kB / 471.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.3452, allocations: 1.311 MB / 472.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.3458, allocations: 0.8793 MB / 473.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3459, allocations: 31.44 kB / 473.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3459, allocations: 0 / 473.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01994/0.3658, allocations: 14.08 MB / 487.4 MB, free: 14.3 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 9.002672638976946]