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.00124/0.00124, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.0009248/0.0009248, allocations: 171 kB / 24.91 MB, free: 9.156 MB / 18.57 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.8699/0.8699, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.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.272e-06/1.272e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097e-05/1.224e-05, allocations: 6.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007014/0.007026, allocations: 6.03 MB / 279.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.01088, allocations: 2.245 MB / 281.7 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003984/0.01128, allocations: 19.94 kB / 281.7 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.01272, allocations: 0.7963 MB / 282.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.01396, allocations: 0.6247 MB / 283.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009111/0.01487, allocations: 0.5181 MB / 283.7 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.01604, allocations: 1.222 MB / 284.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009943/0.01704, allocations: 0.8 MB / 285.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009965/0.01803, allocations: 0.6977 MB / 286.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005602/0.01859, allocations: 426.7 kB / 286.8 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.01874, allocations: 108 kB / 286.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.01919, allocations: 279.6 kB / 287.2 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.01938, allocations: 259 kB / 287.4 MB, free: 3.203 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.01974, allocations: 383.1 kB / 287.8 MB, free: 2.828 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.02082, allocations: 0.9924 MB / 288.8 MB, free: 1.832 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.02082, allocations: 4 kB / 288.8 MB, free: 1.828 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.02083, allocations: 0 / 288.8 MB, free: 1.828 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.02084, allocations: 0 / 288.8 MB, free: 1.828 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.00221/0.02305, allocations: 1.385 MB / 290.2 MB, free: 424 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.02308, allocations: 8.031 kB / 290.2 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08384/0.1069, allocations: 0.5223 MB / 290.7 MB, free: 19.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/0.1075, allocations: 379.7 kB / 291.1 MB, free: 19.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/0.1076, allocations: 76.73 kB / 291.2 MB, free: 19.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.1077, allocations: 105 kB / 291.3 MB, free: 19.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/0.1085, allocations: 0.8285 MB / 292.1 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.1085, allocations: 3.562 kB / 292.1 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.1085, allocations: 41.41 kB / 292.2 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.1085, allocations: 28 kB / 292.2 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.1089, allocations: 327.1 kB / 292.5 MB, free: 19.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.1112, allocations: 2.408 MB / 294.9 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007608/0.112, allocations: 0.6527 MB / 295.6 MB, free: 18.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.1123, allocations: 256.1 kB / 295.8 MB, free: 18.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/0.1124, allocations: 27.39 kB / 295.8 MB, free: 18.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.1127, allocations: 457.7 kB / 296.3 MB, free: 17.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.635e-06/0.1127, allocations: 0 / 296.3 MB, free: 17.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.001721/0.1144, allocations: 0.9554 MB / 297.2 MB, free: 17.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1144, allocations: 200.9 kB / 297.4 MB, free: 17.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.1147, allocations: 416.7 kB / 297.8 MB, free: 17.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.1147, allocations: 42.2 kB / 297.9 MB, free: 17.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1148, allocations: 386.8 kB / 298.3 MB, free: 17.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.1149, allocations: 292.1 kB / 298.5 MB, free: 17.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.1151, allocations: 154.6 kB / 298.7 MB, free: 16.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.812e-05/0.1151, allocations: 377.6 kB / 299.1 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1152, allocations: 88.09 kB / 299.2 MB, free: 16.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.1154, allocations: 416.5 kB / 299.6 MB, free: 16.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.1158, allocations: 464.7 kB / 300 MB, free: 16.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1158, allocations: 1.406 kB / 300 MB, free: 16.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0006255/0.1164, allocations: 0.5529 MB / 300.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1164, allocations: 13.66 kB / 300.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1164, allocations: 8.391 kB / 300.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004741/0.1169, allocations: 229.3 kB / 300.8 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.1171, allocations: 140.7 kB / 301 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.119, allocations: 3.595 MB / 304.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.1192, allocations: 89.31 kB / 304.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.1192, allocations: 26.59 kB / 304.7 MB, free: 13.39 MB / 266.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.0001361/0.1194, allocations: 171.4 kB / 304.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.1194, allocations: 72.81 kB / 304.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005919/0.12, allocations: 0.5281 MB / 305.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.12, allocations: 15.97 kB / 305.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.12, allocations: 0 / 305.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.12, allocations: 5.016 kB / 305.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009768/0.121, allocations: 0.9774 MB / 306.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.121, allocations: 3.938 kB / 306.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.1212, allocations: 85.62 kB / 306.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003752/0.1216, allocations: 214.9 kB / 306.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.1216, allocations: 18.77 kB / 306.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.1231, allocations: 3.557 MB / 310.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1231, allocations: 0 / 310.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.1238, allocations: 0.7142 MB / 311 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1239, allocations: 91.73 kB / 311.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.1239, allocations: 21.83 kB / 311.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.1241, allocations: 36.66 kB / 311.2 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.1242, allocations: 84.22 kB / 311.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.1242, allocations: 25.69 kB / 311.3 MB, free: 9.914 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.289e-05/0.1243, allocations: 175.7 kB / 311.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1243, allocations: 0 / 311.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004809/0.1248, allocations: 310.2 kB / 311.7 MB, free: 9.809 MB / 266.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.0001474/0.1249, allocations: 139.5 kB / 311.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005592/0.1255, allocations: 0.7598 MB / 312.6 MB, free: 9.359 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.1255, allocations: 6.375 kB / 312.6 MB, free: 9.359 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.1258, allocations: 0.5831 MB / 313.2 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.1261, allocations: 118.9 kB / 313.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.1276, allocations: 1.539 MB / 314.9 MB, free: 7.199 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.413e-05/0.1277, allocations: 184.7 kB / 315.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.1278, allocations: 69.22 kB / 315.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.128, allocations: 177.3 kB / 315.3 MB, free: 6.75 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.128, allocations: 4 kB / 315.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of Templates: time 0.01318/0.1412, allocations: 12.47 MB / 327.8 MB, free: 10.57 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 -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.793041470926255]