Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007156/0.0007156, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009585/0.001674, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006877/0.0006877, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008531/0.001541, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9865/0.9865, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09049/1.077, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.334e-05, allocations: 9.062 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.005059/0.005082, allocations: 6.112 MB / 250.6 MB, free: 8.172 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003376/0.008458, allocations: 2.253 MB / 252.9 MB, free: 5.906 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000483/0.008941, allocations: 23.88 kB / 252.9 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.009982, allocations: 0.7886 MB / 253.7 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.01106, allocations: 0.6168 MB / 254.3 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008257/0.01189, allocations: 0.5141 MB / 254.8 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.01299, allocations: 1.218 MB / 256 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008518/0.01384, allocations: 0.7495 MB / 256.8 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007673/0.0146, allocations: 0.7573 MB / 257.6 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.01517, allocations: 430.7 kB / 258 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.01533, allocations: 112 kB / 258.1 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.01586, allocations: 295.6 kB / 258.4 MB, free: 384 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.01598, allocations: 183.4 kB / 258.6 MB, free: 200 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.01625, allocations: 311.4 kB / 258.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008548/0.0171, allocations: 0.9068 MB / 259.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.747e-05/0.01712, allocations: 4 kB / 259.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.01712, allocations: 0 / 259.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.951e-05/0.01715, allocations: 0 / 259.8 MB, free: 14.98 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.001841/0.01899, allocations: 1.682 MB / 261.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.01902, allocations: 15.91 kB / 261.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.02032, allocations: 0.5315 MB / 262 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.02078, allocations: 383 kB / 262.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.02082, allocations: 78.38 kB / 262.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.02091, allocations: 104.4 kB / 262.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.02161, allocations: 0.8242 MB / 263.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.02164, allocations: 8.125 kB / 263.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.02169, allocations: 44.12 kB / 263.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.0217, allocations: 24 kB / 263.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.0221, allocations: 321.7 kB / 263.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.02461, allocations: 2.419 MB / 266.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000809/0.02542, allocations: 0.6593 MB / 266.8 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.02573, allocations: 263.1 kB / 267.1 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.998e-05/0.0258, allocations: 28.62 kB / 267.1 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003615/0.02616, allocations: 459.5 kB / 267.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.255e-06/0.02616, allocations: 0 / 267.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.001699/0.02786, allocations: 0.952 MB / 268.5 MB, free: 5.883 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.02791, allocations: 98.03 kB / 268.6 MB, free: 5.766 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.02823, allocations: 419.2 kB / 269 MB, free: 5.344 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.02828, allocations: 45.69 kB / 269.1 MB, free: 5.293 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.02848, allocations: 377.7 kB / 269.4 MB, free: 4.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.02866, allocations: 289.4 kB / 269.7 MB, free: 4.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.02885, allocations: 166.5 kB / 269.9 MB, free: 4.465 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.02897, allocations: 374.6 kB / 270.3 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.02912, allocations: 85.95 kB / 270.3 MB, free: 4.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.02943, allocations: 414 kB / 270.7 MB, free: 3.484 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.02992, allocations: 463.9 kB / 271.2 MB, free: 2.957 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.02992, allocations: 0 / 271.2 MB, free: 2.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0008267/0.03075, allocations: 0.5645 MB / 271.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.03077, allocations: 8.594 kB / 271.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.03078, allocations: 4.062 kB / 271.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006113/0.03139, allocations: 229.4 kB / 272 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.03179, allocations: 167.7 kB / 272.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/0.03472, allocations: 3.595 MB / 275.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.03505, allocations: 87.53 kB / 275.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.03509, allocations: 31.98 kB / 275.9 MB, free: 14.1 MB / 282.7 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.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.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.0001929/0.03528, allocations: 173.8 kB / 276 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/0.03537, allocations: 71.94 kB / 276.1 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008127/0.03618, allocations: 0.5353 MB / 276.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.03619, allocations: 8 kB / 276.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.03619, allocations: 0 / 276.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.0362, allocations: 3.984 kB / 276.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.03757, allocations: 0.9783 MB / 277.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.03758, allocations: 8.031 kB / 277.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.03786, allocations: 103.9 kB / 277.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.03803, allocations: 87.36 kB / 277.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005187/0.03855, allocations: 217.4 kB / 278 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.03859, allocations: 19.98 kB / 278.1 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.04124, allocations: 3.532 MB / 281.6 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.04124, allocations: 0 / 281.6 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.04215, allocations: 0.7184 MB / 282.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.04221, allocations: 16 kB / 282.3 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.04245, allocations: 43.91 kB / 282.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.04257, allocations: 72.86 kB / 282.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.0426, allocations: 20 kB / 282.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.04275, allocations: 172.4 kB / 282.6 MB, free: 7.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04275, allocations: 3.938 kB / 282.6 MB, free: 7.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008291/0.04358, allocations: 319.3 kB / 282.9 MB, free: 6.754 MB / 282.7 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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.0002147/0.04379, allocations: 136.3 kB / 283.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008833/0.04468, allocations: 0.7616 MB / 283.8 MB, free: 5.828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-05/0.0447, allocations: 15.92 kB / 283.9 MB, free: 5.812 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.04528, allocations: 0.5785 MB / 284.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.04574, allocations: 176.9 kB / 284.6 MB, free: 5.039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007651/0.05339, allocations: 1.592 MB / 286.2 MB, free: 3.402 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.05355, allocations: 188.7 kB / 286.4 MB, free: 3.195 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002329/0.05378, allocations: 77.2 kB / 286.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.05407, allocations: 177.2 kB / 286.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.05407, allocations: 4 kB / 286.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of Templates: time 0.1106/0.1647, allocations: 12.88 MB / 299.5 MB, free: 27.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/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.9762273533269763]