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.0007097/0.0007097, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009577/0.001667, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006654/0.0006654, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008409/0.001506, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9392/0.9392, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08735/1.027, allocations: 52.5 MB / 238.3 MB, free: 4.426 MB / 234.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.092e-06/1.092e-06, allocations: 0 / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.001e-05, allocations: 6.312 kB / 239.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.004886/0.004906, allocations: 6.042 MB / 245.6 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.008176, allocations: 2.16 MB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004383/0.008615, allocations: 23.88 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.009645, allocations: 0.7924 MB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.01085, allocations: 0.7451 MB / 249.3 MB, free: 9.359 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007439/0.01159, allocations: 0.4946 MB / 249.8 MB, free: 8.863 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.01273, allocations: 1.199 MB / 251 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008388/0.01356, allocations: 0.7417 MB / 251.7 MB, free: 6.887 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007067/0.01427, allocations: 0.7496 MB / 252.5 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004449/0.01472, allocations: 422.8 kB / 252.9 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.01485, allocations: 111.9 kB / 253 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007556/0.0156, allocations: 263.8 kB / 253.3 MB, free: 5.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.01576, allocations: 187.4 kB / 253.5 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003123/0.01607, allocations: 307.4 kB / 253.8 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009177/0.01699, allocations: 0.8912 MB / 254.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.438e-05/0.017, allocations: 0 / 254.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.017, allocations: 0 / 254.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.01702, allocations: 0 / 254.7 MB, free: 3.977 MB / 250.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.001767/0.01879, allocations: 1.667 MB / 256.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.01882, allocations: 8.031 kB / 256.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.01996, allocations: 0.5042 MB / 256.8 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.02042, allocations: 363.1 kB / 257.2 MB, free: 1.359 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.02047, allocations: 78.38 kB / 257.3 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.119e-05/0.02056, allocations: 104.4 kB / 257.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.02129, allocations: 0.8242 MB / 258.2 MB, free: 312 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.02132, allocations: 8.172 kB / 258.2 MB, free: 304 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.02136, allocations: 44.12 kB / 258.2 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.02138, allocations: 24 kB / 258.3 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.02177, allocations: 317.2 kB / 258.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.02424, allocations: 2.422 MB / 261 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009102/0.02515, allocations: 0.6627 MB / 261.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.02553, allocations: 255.5 kB / 261.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.045e-05/0.0256, allocations: 28.64 kB / 261.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.02606, allocations: 459.4 kB / 262.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 4.258e-06/0.02606, allocations: 3.984 kB / 262.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.004825/0.03089, allocations: 0.9599 MB / 263.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.03094, allocations: 94.05 kB / 263.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.03124, allocations: 391.1 kB / 263.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.03129, allocations: 41.7 kB / 263.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.03148, allocations: 381.6 kB / 264.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.03167, allocations: 293.5 kB / 264.5 MB, free: 9.727 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.03184, allocations: 154.5 kB / 264.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.03195, allocations: 374.6 kB / 265 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.03209, allocations: 85.95 kB / 265.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.03237, allocations: 422 kB / 265.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.03283, allocations: 452 kB / 266 MB, free: 8.078 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.03284, allocations: 4 kB / 266 MB, free: 8.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0007702/0.03361, allocations: 0.5609 MB / 266.5 MB, free: 7.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.03363, allocations: 10.5 kB / 266.5 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.03364, allocations: 8 kB / 266.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006077/0.03425, allocations: 240.7 kB / 266.8 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.03466, allocations: 163.7 kB / 267 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/0.0377, allocations: 3.61 MB / 270.6 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.03804, allocations: 91.52 kB / 270.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.03808, allocations: 24 kB / 270.7 MB, free: 3.191 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.000203/0.03828, allocations: 180.3 kB / 270.9 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.03836, allocations: 67.94 kB / 270.9 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007848/0.03915, allocations: 0.5391 MB / 271.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.03916, allocations: 8 kB / 271.5 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.03916, allocations: 0 / 271.5 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.03917, allocations: 7.922 kB / 271.5 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.04059, allocations: 0.9745 MB / 272.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.04059, allocations: 4 kB / 272.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.04089, allocations: 103.8 kB / 272.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.04105, allocations: 79.47 kB / 272.6 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000534/0.04158, allocations: 229.7 kB / 272.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.04162, allocations: 16 kB / 272.9 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002738/0.04436, allocations: 3.547 MB / 276.4 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.04436, allocations: 0 / 276.4 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/0.04526, allocations: 0.7145 MB / 277.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.04533, allocations: 16 kB / 277.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.04557, allocations: 43.91 kB / 277.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.04569, allocations: 80.8 kB / 277.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.04573, allocations: 12 kB / 277.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.04587, allocations: 164.7 kB / 277.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04587, allocations: 0 / 277.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008171/0.04669, allocations: 307.3 kB / 277.7 MB, free: 11.86 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.0002059/0.0469, allocations: 136.3 kB / 277.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008609/0.04776, allocations: 0.7515 MB / 278.6 MB, free: 10.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.34e-05/0.04778, allocations: 19.92 kB / 278.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.04832, allocations: 0.5853 MB / 279.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.04877, allocations: 170.4 kB / 279.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007536/0.0563, allocations: 1.587 MB / 281 MB, free: 8.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.05646, allocations: 192.5 kB / 281.2 MB, free: 8.301 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.05669, allocations: 73.14 kB / 281.2 MB, free: 8.227 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.05696, allocations: 177.2 kB / 281.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.05696, allocations: 0 / 281.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of Templates: time 0.106/0.163, allocations: 12.64 MB / 294.1 MB, free: 31.85 MB / 282.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 -ignoreHideResult -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.0799449114128947]