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.0009333/0.0009333, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001003/0.001003, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.911/0.911, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.453e-06/1.453e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.54e-05, allocations: 8.703 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.00599/0.006005, allocations: 6.007 MB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.009202, allocations: 2.172 MB / 281.6 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004254/0.009627, allocations: 23.94 kB / 281.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.01093, allocations: 0.7691 MB / 282.4 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.01204, allocations: 0.6092 MB / 283 MB, free: 7.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008287/0.01287, allocations: 0.5141 MB / 283.5 MB, free: 7.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.01396, allocations: 1.23 MB / 284.7 MB, free: 5.922 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009216/0.01488, allocations: 0.761 MB / 285.5 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007314/0.01561, allocations: 0.6977 MB / 286.2 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004861/0.0161, allocations: 426.7 kB / 286.6 MB, free: 4.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.01624, allocations: 112 kB / 286.7 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.0167, allocations: 283.6 kB / 287 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.01686, allocations: 251.1 kB / 287.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.01717, allocations: 379 kB / 287.6 MB, free: 3.012 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009929/0.01816, allocations: 0.9886 MB / 288.6 MB, free: 2.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.01816, allocations: 4 kB / 288.6 MB, free: 2.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01816, allocations: 0 / 288.6 MB, free: 2.016 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.01817, allocations: 0 / 288.6 MB, free: 2.016 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.002338/0.02051, allocations: 1.832 MB / 290.4 MB, free: 132 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.02054, allocations: 8.031 kB / 290.4 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09975/0.1203, allocations: 0.499 MB / 290.9 MB, free: 19.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.1209, allocations: 0.5037 MB / 291.4 MB, free: 19.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.121, allocations: 74.12 kB / 291.5 MB, free: 19.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.1211, allocations: 107.8 kB / 291.6 MB, free: 19.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000897/0.1219, allocations: 0.8318 MB / 292.4 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.122, allocations: 5.531 kB / 292.4 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.095e-05/0.122, allocations: 43.81 kB / 292.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.122, allocations: 29.08 kB / 292.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.1226, allocations: 372.9 kB / 292.9 MB, free: 19.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00273/0.1253, allocations: 3.052 MB / 295.9 MB, free: 17.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000982/0.1263, allocations: 0.724 MB / 296.7 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/0.1267, allocations: 259.6 kB / 296.9 MB, free: 17.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.463e-05/0.1268, allocations: 30.84 kB / 296.9 MB, free: 17.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004248/0.1272, allocations: 482.6 kB / 297.4 MB, free: 17.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.014e-06/0.1272, allocations: 7.328 kB / 297.4 MB, free: 17.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.002006/0.1292, allocations: 1.062 MB / 298.5 MB, free: 17.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.1292, allocations: 196.8 kB / 298.7 MB, free: 17.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.1295, allocations: 474.5 kB / 299.1 MB, free: 16.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.1296, allocations: 43.17 kB / 299.2 MB, free: 16.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.1297, allocations: 483.9 kB / 299.7 MB, free: 16.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.1299, allocations: 291.2 kB / 299.9 MB, free: 16.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.13, allocations: 165.7 kB / 300.1 MB, free: 16.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.1301, allocations: 0.5531 MB / 300.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.1303, allocations: 101.9 kB / 300.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.1305, allocations: 0.4947 MB / 301.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.1309, allocations: 0.5163 MB / 301.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.1309, allocations: 1.562 kB / 301.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001035/0.132, allocations: 0.7061 MB / 302.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.132, allocations: 6.875 kB / 302.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.132, allocations: 9.438 kB / 302.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006296/0.1326, allocations: 244.5 kB / 302.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.133, allocations: 143.9 kB / 302.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/0.1358, allocations: 5.011 MB / 307.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.1362, allocations: 94.84 kB / 308 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.1362, allocations: 29.23 kB / 308 MB, free: 10.84 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.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.0001812/0.1364, allocations: 212.5 kB / 308.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.1365, allocations: 101.6 kB / 308.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009614/0.1375, allocations: 0.6447 MB / 309 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1375, allocations: 8 kB / 309 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1375, allocations: 2 kB / 309 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.1375, allocations: 5.625 kB / 309 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.139, allocations: 1.275 MB / 310.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.139, allocations: 6.047 kB / 310.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.1393, allocations: 90.25 kB / 310.3 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005444/0.1398, allocations: 234.4 kB / 310.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.1398, allocations: 15.94 kB / 310.6 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.1423, allocations: 4.977 MB / 315.6 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1423, allocations: 10.69 kB / 315.6 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.1433, allocations: 0.886 MB / 316.5 MB, free: 4.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.1435, allocations: 138.3 kB / 316.6 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.1435, allocations: 15.27 kB / 316.6 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.1438, allocations: 49.83 kB / 316.7 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.1439, allocations: 84.77 kB / 316.7 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.1439, allocations: 22.17 kB / 316.8 MB, free: 4.781 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1441, allocations: 290.9 kB / 317 MB, free: 4.605 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1441, allocations: 0 / 317 MB, free: 4.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007926/0.1449, allocations: 312.7 kB / 317.3 MB, free: 4.434 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,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.0001811/0.1451, allocations: 161.2 kB / 317.5 MB, free: 4.281 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008169/0.1459, allocations: 0.909 MB / 318.4 MB, free: 3.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1459, allocations: 0 / 318.4 MB, free: 3.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.1464, allocations: 0.7142 MB / 319.1 MB, free: 2.641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.1469, allocations: 124.8 kB / 319.2 MB, free: 2.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.1489, allocations: 1.539 MB / 320.8 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.149, allocations: 184.7 kB / 321 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.1492, allocations: 81.2 kB / 321 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/0.1495, allocations: 210.1 kB / 321.3 MB, free: 496 kB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1495, allocations: 0 / 321.3 MB, free: 496 kB / 266.7 MB Notification: Performance of Templates: time 0.01869/0.1682, allocations: 12.64 MB / 333.9 MB, free: 4.137 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: 3.033035116735846]