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.0008737/0.0008737, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003495/0.003495, allocations: 160.4 kB / 24.7 MB, free: 9.43 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.8468/0.8468, allocations: 177.1 MB / 205 MB, free: 5.738 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.183e-06/1.183e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.152e-05, allocations: 4.812 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.004831/0.004852, allocations: 5.601 MB / 331.4 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.007074, allocations: 2.133 MB / 333.6 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.007329, allocations: 23.88 kB / 333.6 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009191/0.008248, allocations: 0.7419 MB / 334.3 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007212/0.008969, allocations: 0.6014 MB / 334.9 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.00949, allocations: 0.5219 MB / 335.5 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000734/0.01022, allocations: 1.226 MB / 336.7 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006773/0.0109, allocations: 0.7571 MB / 337.4 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004906/0.01139, allocations: 0.686 MB / 338.1 MB, free: 3.035 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.01175, allocations: 410.8 kB / 338.5 MB, free: 2.633 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.01198, allocations: 112 kB / 338.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.01226, allocations: 279.6 kB / 338.9 MB, free: 2.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.01239, allocations: 255.1 kB / 339.2 MB, free: 2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.01262, allocations: 383 kB / 339.5 MB, free: 1.625 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009842/0.0136, allocations: 1.522 MB / 341.1 MB, free: 96 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.0136, allocations: 3.984 kB / 341.1 MB, free: 92 kB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.0136, allocations: 0 / 341.1 MB, free: 92 kB / 298.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.01361, allocations: 0 / 341.1 MB, free: 92 kB / 298.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.001828/0.01544, allocations: 1.661 MB / 342.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.01548, allocations: 12.03 kB / 342.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.01661, allocations: 391.9 kB / 343.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.0172, allocations: 0.5242 MB / 343.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.01724, allocations: 74.38 kB / 343.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/0.01733, allocations: 104.4 kB / 343.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.01841, allocations: 1.124 MB / 344.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.01844, allocations: 4.141 kB / 345 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.0185, allocations: 48.12 kB / 345 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.01851, allocations: 24 kB / 345 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.01966, allocations: 0.8472 MB / 345.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/0.02269, allocations: 2.958 MB / 348.8 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.02378, allocations: 0.8594 MB / 349.7 MB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.0243, allocations: 407.4 kB / 350.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.626e-05/0.02437, allocations: 24.58 kB / 350.1 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000571/0.02494, allocations: 0.5933 MB / 350.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 1.994e-06/0.02495, allocations: 0 / 350.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.002501/0.02745, allocations: 1.481 MB / 352.2 MB, free: 4.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/0.02753, allocations: 192.9 kB / 352.4 MB, free: 4.418 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.02788, allocations: 470 kB / 352.8 MB, free: 3.949 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.02807, allocations: 41.7 kB / 352.9 MB, free: 3.902 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.02826, allocations: 428.7 kB / 353.3 MB, free: 3.477 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.0284, allocations: 289.5 kB / 353.6 MB, free: 3.191 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.02855, allocations: 154.6 kB / 353.7 MB, free: 3.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.02865, allocations: 378.8 kB / 354.1 MB, free: 2.656 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.02898, allocations: 261.9 kB / 354.3 MB, free: 2.398 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.02943, allocations: 0.584 MB / 354.9 MB, free: 1.703 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.03049, allocations: 0.7435 MB / 355.7 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.0305, allocations: 3.938 kB / 355.7 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001737/0.03224, allocations: 1.01 MB / 356.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.03226, allocations: 8.438 kB / 356.7 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.03227, allocations: 8 kB / 356.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/0.03296, allocations: 253.5 kB / 357 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.03335, allocations: 151.8 kB / 357.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004872/0.03822, allocations: 4.547 MB / 361.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.03865, allocations: 91.52 kB / 361.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/0.0387, allocations: 43.98 kB / 361.8 MB, free: 10.57 MB / 330.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.0003278/0.03903, allocations: 250.2 kB / 362 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.03912, allocations: 67.58 kB / 362.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.04075, allocations: 0.9592 MB / 363.1 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.04075, allocations: 8 kB / 363.1 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.04076, allocations: 4 kB / 363.1 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.04077, allocations: 3.984 kB / 363.1 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.04317, allocations: 1.644 MB / 364.7 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.04318, allocations: 4 kB / 364.7 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.04352, allocations: 99.81 kB / 364.8 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006141/0.04413, allocations: 264.8 kB / 365.1 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/0.04419, allocations: 19.98 kB / 365.1 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003434/0.04762, allocations: 4.494 MB / 369.6 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.04762, allocations: 3.938 kB / 369.6 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.04906, allocations: 1.373 MB / 371 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.04923, allocations: 143.3 kB / 371.1 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.04928, allocations: 16 kB / 371.1 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.04948, allocations: 43.97 kB / 371.2 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.04959, allocations: 72.86 kB / 371.2 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.04962, allocations: 31.98 kB / 371.3 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002161/0.04983, allocations: 302.9 kB / 371.6 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04983, allocations: 0 / 371.6 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006545/0.05049, allocations: 315.3 kB / 371.9 MB, free: 192 kB / 330.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.0002297/0.05072, allocations: 151.1 kB / 372 MB, free: 28 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.05187, allocations: 1.065 MB / 373.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.05187, allocations: 0 / 373.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006329/0.05251, allocations: 0.7209 MB / 373.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.05289, allocations: 114.2 kB / 373.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.05484, allocations: 1.643 MB / 375.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.0551, allocations: 404.3 kB / 375.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.05521, allocations: 64.47 kB / 376 MB, free: 11.9 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.05521, allocations: 0 / 376 MB, free: 11.9 MB / 346.7 MB Notification: Performance of Templates: time 0.01289/0.0681, allocations: 18.01 MB / 394 MB, free: 9.922 MB / 362.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.506179835647345]