Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.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.008997/0.008997, allocations: 106.5 kB / 21.98 MB, free: 5.219 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.002282/0.002282, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.464/1.464, allocations: 230.6 MB / 259 MB, free: 8.035 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.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.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.001975/0.001975, allocations: 59.91 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.236, allocations: 53.37 MB / 433.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008171/0.2442, allocations: 6.336 MB / 439.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004224/0.2484, allocations: 2.258 MB / 441.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004919/0.2489, allocations: 19.94 kB / 441.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.2508, allocations: 0.7694 MB / 442.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.2522, allocations: 0.6095 MB / 443.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.2533, allocations: 0.526 MB / 443.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.2546, allocations: 1.193 MB / 444.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.2557, allocations: 0.7743 MB / 445.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005981/0.2563, allocations: 486.2 kB / 446.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007162/0.257, allocations: 0.5406 MB / 446.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.2571, allocations: 112 kB / 446.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005496/0.2577, allocations: 287.8 kB / 447.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.2579, allocations: 247.1 kB / 447.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005137/0.2584, allocations: 0.548 MB / 447.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.2601, allocations: 1.486 MB / 449.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2601, allocations: 0 / 449.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2601, allocations: 0 / 449.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.2601, allocations: 4 kB / 449.4 MB, free: 6.73 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003204/0.2633, allocations: 1.666 MB / 451 MB, free: 5.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.2633, allocations: 16.03 kB / 451 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/0.2658, allocations: 391.9 kB / 451.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.2667, allocations: 0.5133 MB / 451.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.2668, allocations: 82.31 kB / 452 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.2669, allocations: 112.2 kB / 452.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.2687, allocations: 1.016 MB / 453.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.2688, allocations: 3.953 kB / 453.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-05/0.2689, allocations: 51.94 kB / 453.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.2689, allocations: 24 kB / 453.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.2706, allocations: 0.8511 MB / 454.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00518/0.2758, allocations: 3.353 MB / 457.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.2777, allocations: 0.8631 MB / 458.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008606/0.2785, allocations: 399.5 kB / 458.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.2786, allocations: 24.64 kB / 458.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008971/0.2795, allocations: 0.489 MB / 459.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.275e-06/0.2795, allocations: 0 / 459.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004448/0.284, allocations: 1.477 MB / 460.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.2841, allocations: 200.9 kB / 460.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005929/0.2847, allocations: 474 kB / 461.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.2848, allocations: 57.67 kB / 461.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.2851, allocations: 428.7 kB / 461.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.2854, allocations: 277.6 kB / 462.1 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.2856, allocations: 162.6 kB / 462.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.2858, allocations: 378.7 kB / 462.6 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005813/0.2864, allocations: 261.9 kB / 462.9 MB, free: 8.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007583/0.2871, allocations: 496.1 kB / 463.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.2884, allocations: 0.7396 MB / 464.1 MB, free: 7.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.2885, allocations: 4 kB / 464.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002084/0.2905, allocations: 1.022 MB / 465.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.2906, allocations: 10.5 kB / 465.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2906, allocations: 4 kB / 465.1 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008939/0.2915, allocations: 269.5 kB / 465.4 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.292, allocations: 147.8 kB / 465.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005882/0.2979, allocations: 4.658 MB / 470.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.2985, allocations: 99.5 kB / 470.3 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.2986, allocations: 35.98 kB / 470.3 MB, free: 1 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000412/0.299, allocations: 254.4 kB / 470.6 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.2991, allocations: 71.73 kB / 470.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.3012, allocations: 0.9554 MB / 471.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.3012, allocations: 15.94 kB / 471.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.3012, allocations: 0 / 471.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3013, allocations: 7.969 kB / 471.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/0.3046, allocations: 1.869 MB / 473.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.3046, allocations: 7.984 kB / 473.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004417/0.3051, allocations: 95.92 kB / 473.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008018/0.3059, allocations: 253.5 kB / 473.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.3059, allocations: 20 kB / 473.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005971/0.3119, allocations: 4.617 MB / 478.5 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/0.3119, allocations: 4.031 kB / 478.5 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/0.3147, allocations: 1.366 MB / 479.8 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.315, allocations: 143.3 kB / 480 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.371e-05/0.3151, allocations: 16 kB / 480 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.3156, allocations: 39.97 kB / 480 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.3158, allocations: 76.86 kB / 480.1 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.3158, allocations: 31.98 kB / 480.1 MB, free: 6.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004166/0.3162, allocations: 322.9 kB / 480.5 MB, free: 6.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3162, allocations: 4 kB / 480.5 MB, free: 6.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001056/0.3173, allocations: 311.3 kB / 480.8 MB, free: 6.211 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003243/0.3176, allocations: 167.1 kB / 480.9 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.3197, allocations: 1.065 MB / 482 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.3197, allocations: 3.984 kB / 482 MB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.3209, allocations: 0.7125 MB / 482.7 MB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.3216, allocations: 118.1 kB / 482.8 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.3248, allocations: 1.722 MB / 484.5 MB, free: 2.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/0.3254, allocations: 0.9943 MB / 485.5 MB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.3256, allocations: 59.42 kB / 485.6 MB, free: 1.246 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3256, allocations: 7.938 kB / 485.6 MB, free: 1.238 MB / 382.1 MB Notification: Performance of Templates: time 0.02425/0.3498, allocations: 17.86 MB / 0.4917 GB, free: 15.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.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: 8.903322293888777]