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.001801/0.001801, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002348/0.002348, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.441/1.441, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001653/0.001653, allocations: 55.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2518, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007987/0.2598, allocations: 5.595 MB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004466/0.2643, allocations: 2.118 MB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006367/0.2649, allocations: 27.88 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.2669, allocations: 0.7104 MB / 440.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.2685, allocations: 0.586 MB / 441.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.2696, allocations: 0.526 MB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.2711, allocations: 1.187 MB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.2722, allocations: 0.7491 MB / 443.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006643/0.2729, allocations: 482.2 kB / 444.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006888/0.2736, allocations: 485.6 kB / 444.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.2737, allocations: 115.9 kB / 444.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000637/0.2744, allocations: 271.9 kB / 445.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.2746, allocations: 251.1 kB / 445.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.2751, allocations: 461.8 kB / 445.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001885/0.277, allocations: 1.494 MB / 447.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.277, allocations: 4 kB / 447.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.277, allocations: 0 / 447.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.277, allocations: 0 / 447.4 MB, free: 7.609 MB / 350.1 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.003425/0.2804, allocations: 1.666 MB / 449 MB, free: 5.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.2805, allocations: 11.97 kB / 449 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/0.2829, allocations: 391.9 kB / 449.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.284, allocations: 0.5211 MB / 449.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.808e-05/0.284, allocations: 78.38 kB / 450 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.2842, allocations: 100.3 kB / 450.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.2861, allocations: 1.124 MB / 451.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.2861, allocations: 7.875 kB / 451.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.725e-05/0.2862, allocations: 43.98 kB / 451.3 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.2863, allocations: 24 kB / 451.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.2879, allocations: 0.8472 MB / 452.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005146/0.2931, allocations: 2.964 MB / 455.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.2949, allocations: 0.8514 MB / 456 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008581/0.2958, allocations: 395.5 kB / 456.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.2959, allocations: 24.64 kB / 456.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009398/0.2968, allocations: 0.6011 MB / 457 MB, free: 13.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.605e-06/0.2968, allocations: 0 / 457 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004405/0.3012, allocations: 1.477 MB / 458.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.3014, allocations: 192.9 kB / 458.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/0.3019, allocations: 461.9 kB / 459.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.302, allocations: 41.7 kB / 459.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.3023, allocations: 436.8 kB / 459.6 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.3026, allocations: 293.5 kB / 459.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.3028, allocations: 154.6 kB / 460 MB, free: 10.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.303, allocations: 378.7 kB / 460.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.3036, allocations: 265.8 kB / 460.6 MB, free: 9.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000788/0.3044, allocations: 0.5762 MB / 461.2 MB, free: 9.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.3057, allocations: 0.7435 MB / 462 MB, free: 8.414 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3057, allocations: 4 kB / 462 MB, free: 8.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002109/0.3078, allocations: 1.006 MB / 463 MB, free: 7.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.3078, allocations: 11.98 kB / 463 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.3078, allocations: 4 kB / 463 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009056/0.3087, allocations: 263.7 kB / 463.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/0.3093, allocations: 143.7 kB / 463.4 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0058/0.3151, allocations: 4.578 MB / 468 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000711/0.3158, allocations: 91.48 kB / 468 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.3158, allocations: 32 kB / 468.1 MB, free: 2.082 MB / 366.1 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.0004587/0.3163, allocations: 245.7 kB / 468.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.3164, allocations: 71.58 kB / 468.4 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.3185, allocations: 0.9553 MB / 469.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.3185, allocations: 8 kB / 469.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.3185, allocations: 4 kB / 469.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.3185, allocations: 3.984 kB / 469.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.3216, allocations: 1.644 MB / 471 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3216, allocations: 0 / 471 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.3221, allocations: 99.88 kB / 471.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007793/0.3229, allocations: 257.4 kB / 471.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/0.3229, allocations: 20.03 kB / 471.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00552/0.3284, allocations: 4.514 MB / 475.9 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3284, allocations: 4.172 kB / 475.9 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/0.3311, allocations: 1.358 MB / 477.2 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003587/0.3315, allocations: 147.2 kB / 477.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/0.3316, allocations: 16 kB / 477.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.332, allocations: 35.97 kB / 477.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.3322, allocations: 80.8 kB / 477.5 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.116e-05/0.3323, allocations: 31.92 kB / 477.6 MB, free: 8.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003765/0.3326, allocations: 310.9 kB / 477.9 MB, free: 7.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3326, allocations: 0 / 477.9 MB, free: 7.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001104/0.3337, allocations: 311.3 kB / 478.2 MB, free: 7.691 MB / 382.1 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.0002971/0.334, allocations: 167.1 kB / 478.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002048/0.3361, allocations: 1.053 MB / 479.4 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3361, allocations: 0 / 479.4 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.3373, allocations: 0.7202 MB / 480.1 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.3379, allocations: 108.5 kB / 480.2 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.3412, allocations: 1.713 MB / 481.9 MB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.3416, allocations: 408.3 kB / 482.3 MB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.3418, allocations: 59.42 kB / 482.4 MB, free: 3.344 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3418, allocations: 0 / 482.4 MB, free: 3.344 MB / 382.1 MB Notification: Performance of Templates: time 0.02527/0.3671, allocations: 18 MB / 0.4886 GB, free: 1.371 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 8.490585377905518]