Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009759/0.0009759, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9705/0.9705, allocations: 173.4 MB / 202.3 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.593e-05, allocations: 9.266 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007179/0.007205, allocations: 5.943 MB / 275.1 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003963/0.01117, allocations: 2.073 MB / 277.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006886/0.01186, allocations: 23.94 kB / 277.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.01361, allocations: 0.7744 MB / 278 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.01542, allocations: 0.7452 MB / 278.8 MB, free: 208 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.01646, allocations: 0.4907 MB / 279.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.01791, allocations: 1.21 MB / 280.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.01912, allocations: 0.7531 MB / 281.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009069/0.02003, allocations: 0.6899 MB / 281.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/0.02069, allocations: 418.8 kB / 282.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.02086, allocations: 112 kB / 282.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000606/0.02146, allocations: 259.7 kB / 282.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.02167, allocations: 255.1 kB / 282.9 MB, free: 12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003826/0.02205, allocations: 375 kB / 283.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.02334, allocations: 0.9614 MB / 284.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.02334, allocations: 0 / 284.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.02334, allocations: 0 / 284.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.02336, allocations: 0 / 284.3 MB, free: 10.67 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.00293/0.02629, allocations: 1.805 MB / 286.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.02633, allocations: 12.03 kB / 286.1 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.02843, allocations: 0.4959 MB / 286.6 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008199/0.02925, allocations: 489.7 kB / 287 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.02932, allocations: 78.38 kB / 287.1 MB, free: 7.711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.02948, allocations: 108.4 kB / 287.2 MB, free: 7.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.03067, allocations: 0.8291 MB / 288.1 MB, free: 6.719 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.0307, allocations: 8.141 kB / 288.1 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.984e-05/0.03079, allocations: 44.12 kB / 288.1 MB, free: 6.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.03082, allocations: 24 kB / 288.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.03156, allocations: 369.5 kB / 288.5 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004155/0.03571, allocations: 3.022 MB / 291.5 MB, free: 3.137 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.03707, allocations: 0.7297 MB / 292.2 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.03755, allocations: 267.3 kB / 292.5 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.178e-05/0.03762, allocations: 20.64 kB / 292.5 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006069/0.03823, allocations: 486.1 kB / 293 MB, free: 1.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.985e-06/0.03823, allocations: 0 / 293 MB, free: 1.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.00298/0.04121, allocations: 1.073 MB / 294.1 MB, free: 500 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/0.0413, allocations: 192.9 kB / 294.3 MB, free: 264 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.04174, allocations: 450.3 kB / 294.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/0.04179, allocations: 41.7 kB / 294.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.0421, allocations: 483.3 kB / 295.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.04232, allocations: 285.6 kB / 295.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.04256, allocations: 164.2 kB / 295.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.04276, allocations: 0.5507 MB / 296.2 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.04298, allocations: 105.9 kB / 296.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.04328, allocations: 0.4934 MB / 296.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.04373, allocations: 0.5089 MB / 297.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.04373, allocations: 3.938 kB / 297.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0008211/0.04455, allocations: 0.7028 MB / 298 MB, free: 12.19 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.04457, allocations: 11.94 kB / 298 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.04458, allocations: 4 kB / 298 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005454/0.04512, allocations: 257.4 kB / 298.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.04542, allocations: 143.8 kB / 298.4 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/0.04892, allocations: 5.018 MB / 303.4 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.04933, allocations: 91.53 kB / 303.5 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.04937, allocations: 27.98 kB / 303.6 MB, free: 6.418 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.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.0002388/0.04961, allocations: 220.1 kB / 303.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.04974, allocations: 95.58 kB / 303.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.0508, allocations: 0.6482 MB / 304.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.05081, allocations: 8 kB / 304.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.05081, allocations: 4 kB / 304.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.05082, allocations: 3.984 kB / 304.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.05265, allocations: 1.273 MB / 305.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.05265, allocations: 0 / 305.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.05296, allocations: 87.89 kB / 305.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006461/0.0536, allocations: 249.5 kB / 306.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.05365, allocations: 23.98 kB / 306.2 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/0.05725, allocations: 4.972 MB / 311.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.05725, allocations: 0 / 311.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.0585, allocations: 0.8967 MB / 312 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.05871, allocations: 127.3 kB / 312.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.05879, allocations: 23.98 kB / 312.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.05909, allocations: 39.98 kB / 312.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.05923, allocations: 80.73 kB / 312.3 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.05927, allocations: 19.98 kB / 312.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002026/0.05947, allocations: 279 kB / 312.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.05947, allocations: 0 / 312.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009615/0.06044, allocations: 311.3 kB / 312.9 MB, free: 12.75 MB / 298.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.0002285/0.06066, allocations: 159.1 kB / 313 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.06175, allocations: 0.897 MB / 313.9 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.06175, allocations: 8.188 kB / 313.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007024/0.06245, allocations: 0.7195 MB / 314.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/0.06298, allocations: 117.1 kB / 314.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.0655, allocations: 1.533 MB / 316.3 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.06567, allocations: 184.6 kB / 316.5 MB, free: 9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.06592, allocations: 73.14 kB / 316.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.06623, allocations: 206.1 kB / 316.8 MB, free: 8.727 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.06623, allocations: 4 kB / 316.8 MB, free: 8.723 MB / 298.7 MB Notification: Performance of Templates: time 0.02077/0.087, allocations: 12.67 MB / 329.4 MB, free: 12.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.183494491968304]