Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001472/0.001472, allocations: 89.33 kB / 21.44 MB, free: 276 kB / 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.001525/0.001525, allocations: 163.7 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 298.9 MB, free: 8.816 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.524e-05, allocations: 2.281 kB / 298.9 MB, free: 8.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.009471/0.009496, allocations: 5.569 MB / 304.5 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007038/0.01653, allocations: 2.076 MB / 306.6 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.01768, allocations: 27.88 kB / 306.6 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.0205, allocations: 0.738 MB / 307.4 MB, free: 360 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.02346, allocations: 0.6209 MB / 308 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.02544, allocations: 0.4985 MB / 308.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002703/0.02815, allocations: 1.237 MB / 309.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002182/0.03033, allocations: 0.7648 MB / 310.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.03216, allocations: 0.686 MB / 311.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.03331, allocations: 418.7 kB / 311.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.03356, allocations: 112 kB / 311.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009488/0.03451, allocations: 267.6 kB / 311.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003663/0.03488, allocations: 259 kB / 312.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007449/0.03562, allocations: 371.1 kB / 312.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.03864, allocations: 1.511 MB / 314.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.03865, allocations: 0 / 314.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.03865, allocations: 0 / 314.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.986e-05/0.03869, allocations: 4 kB / 314.1 MB, free: 9.594 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005177/0.04386, allocations: 1.662 MB / 315.7 MB, free: 7.883 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.04391, allocations: 11.98 kB / 315.7 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005374/0.04929, allocations: 487.8 kB / 316.2 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.05081, allocations: 0.5009 MB / 316.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.05092, allocations: 78.41 kB / 316.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.05117, allocations: 100.4 kB / 316.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/0.05457, allocations: 1.16 MB / 318.1 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/0.05461, allocations: 4.141 kB / 318.1 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.05478, allocations: 47.94 kB / 318.1 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.05482, allocations: 24 kB / 318.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003078/0.05789, allocations: 0.9096 MB / 319 MB, free: 4.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008508/0.0664, allocations: 3.075 MB / 322.1 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.06956, allocations: 0.9098 MB / 323 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1591/0.2286, allocations: 399.8 kB / 323.4 MB, free: 34.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.2288, allocations: 17.64 kB / 323.4 MB, free: 34.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009987/0.2298, allocations: 0.5926 MB / 324 MB, free: 33.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=86): time 3.005e-06/0.2298, allocations: 3.688 kB / 324 MB, free: 33.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=86): time 0.004371/0.2342, allocations: 1.487 MB / 325.5 MB, free: 33.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.2342, allocations: 197.4 kB / 325.7 MB, free: 33.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.2347, allocations: 451.8 kB / 326.2 MB, free: 33.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.2348, allocations: 42.28 kB / 326.2 MB, free: 33.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.235, allocations: 444.5 kB / 326.6 MB, free: 32.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.2352, allocations: 288 kB / 326.9 MB, free: 32.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.2354, allocations: 171 kB / 327.1 MB, free: 32.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.2355, allocations: 373.5 kB / 327.4 MB, free: 32.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/0.236, allocations: 276.6 kB / 327.7 MB, free: 32.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/0.2367, allocations: 0.6176 MB / 328.3 MB, free: 31.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.2379, allocations: 0.7983 MB / 329.1 MB, free: 31.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.2379, allocations: 2.75 kB / 329.1 MB, free: 31.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002001/0.2399, allocations: 1.056 MB / 330.2 MB, free: 30.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.2399, allocations: 13.03 kB / 330.2 MB, free: 30.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.2399, allocations: 11.56 kB / 330.2 MB, free: 30.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008658/0.2408, allocations: 266 kB / 330.5 MB, free: 30.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/0.2414, allocations: 161.9 kB / 330.6 MB, free: 30.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004496/0.2459, allocations: 4.544 MB / 335.2 MB, free: 26.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006872/0.2466, allocations: 102 kB / 335.3 MB, free: 26.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/0.2466, allocations: 38.64 kB / 335.3 MB, free: 26.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean1.y,$PRE.iAC.mean1.y,iAC.mean2.y,$PRE.iAC.mean2.y,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 (90): * Single equations (assignments): 88 * 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.0004223/0.2471, allocations: 252.6 kB / 335.6 MB, free: 26.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.2472, allocations: 72.81 kB / 335.6 MB, free: 26.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.2492, allocations: 0.9778 MB / 336.6 MB, free: 26.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.2492, allocations: 16.62 kB / 336.6 MB, free: 26.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2492, allocations: 4.531 kB / 336.6 MB, free: 26.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.2492, allocations: 5.328 kB / 336.6 MB, free: 26.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003416/0.2527, allocations: 1.653 MB / 338.3 MB, free: 25.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.2527, allocations: 4.875 kB / 338.3 MB, free: 25.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.2531, allocations: 98.69 kB / 338.4 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008109/0.2539, allocations: 262.9 kB / 338.6 MB, free: 25.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.254, allocations: 18.97 kB / 338.7 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004685/0.2587, allocations: 4.517 MB / 343.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2587, allocations: 0 / 343.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.2613, allocations: 1.368 MB / 344.5 MB, free: 21.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.2616, allocations: 132.5 kB / 344.7 MB, free: 20.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.737e-05/0.2617, allocations: 17.47 kB / 344.7 MB, free: 20.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.2622, allocations: 46.16 kB / 344.7 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.2624, allocations: 77.19 kB / 344.8 MB, free: 20.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.2625, allocations: 24.19 kB / 344.8 MB, free: 20.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000386/0.2629, allocations: 300.8 kB / 345.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2629, allocations: 0 / 345.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001193/0.264, allocations: 327.3 kB / 345.5 MB, free: 20.67 MB / 302.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,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y,iAC.mean1.y) * 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 (59): * Single equations (assignments): 54 * 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.0002761/0.2643, allocations: 150.1 kB / 345.6 MB, free: 20.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.2662, allocations: 1.067 MB / 346.7 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.2662, allocations: 0 / 346.7 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009585/0.2672, allocations: 0.7245 MB / 347.4 MB, free: 19.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005675/0.2677, allocations: 106.1 kB / 347.5 MB, free: 19.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.2702, allocations: 1.651 MB / 349.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.2705, allocations: 405.8 kB / 349.5 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000277/0.2708, allocations: 85.84 kB / 349.6 MB, free: 18.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.2709, allocations: 54.02 kB / 349.7 MB, free: 18 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2709, allocations: 0 / 349.7 MB, free: 18 MB / 302.1 MB Notification: Performance of Templates: time 0.0174/0.2883, allocations: 11.49 MB / 361.2 MB, free: 6.551 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.012152541428804]