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.001835/0.001835, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002181/0.002181, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.001528/0.001528, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.206, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007566/0.2136, allocations: 5.607 MB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.2171, allocations: 2.114 MB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.2174, allocations: 27.88 kB / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.2192, allocations: 0.7062 MB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.2205, allocations: 0.5978 MB / 441.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009791/0.2214, allocations: 0.5143 MB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.2226, allocations: 1.187 MB / 443.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.2237, allocations: 0.7842 MB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005506/0.2243, allocations: 474.3 kB / 444.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006553/0.2249, allocations: 0.5444 MB / 444.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.2251, allocations: 112 kB / 445 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.2256, allocations: 279.8 kB / 445.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.2258, allocations: 255.1 kB / 445.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.2262, allocations: 453.9 kB / 445.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.2278, allocations: 1.498 MB / 447.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2279, allocations: 0 / 447.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2279, allocations: 0 / 447.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.2279, allocations: 4 kB / 447.4 MB, free: 7.516 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.003356/0.2312, allocations: 1.67 MB / 449.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2313, allocations: 8.031 kB / 449.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.2339, allocations: 391.9 kB / 449.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009885/0.2348, allocations: 0.5211 MB / 450 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/0.2349, allocations: 74.38 kB / 450.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.2351, allocations: 104.3 kB / 450.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.2371, allocations: 1.124 MB / 451.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.2371, allocations: 0 / 451.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.2372, allocations: 47.98 kB / 451.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.2372, allocations: 28 kB / 451.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.239, allocations: 0.8432 MB / 452.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005121/0.2441, allocations: 2.976 MB / 455.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.2461, allocations: 0.8513 MB / 456.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008955/0.247, allocations: 399.5 kB / 456.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.704e-05/0.2471, allocations: 24.64 kB / 456.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009658/0.2481, allocations: 0.5933 MB / 457.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.494e-06/0.2481, allocations: 0 / 457.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004708/0.2528, allocations: 1.473 MB / 458.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.2529, allocations: 200.8 kB / 458.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/0.2535, allocations: 457.9 kB / 459.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.2535, allocations: 41.7 kB / 459.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.2538, allocations: 432.7 kB / 459.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.2541, allocations: 285.5 kB / 459.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.2543, allocations: 158.6 kB / 460.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.2545, allocations: 378.7 kB / 460.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.2551, allocations: 265.9 kB / 460.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008333/0.256, allocations: 0.5839 MB / 461.3 MB, free: 9.133 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.2573, allocations: 0.7395 MB / 462 MB, free: 8.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.2573, allocations: 0 / 462 MB, free: 8.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002186/0.2595, allocations: 1.018 MB / 463.1 MB, free: 7.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2595, allocations: 8 kB / 463.1 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.2595, allocations: 4 kB / 463.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009355/0.2605, allocations: 257.6 kB / 463.3 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/0.2611, allocations: 147.7 kB / 463.5 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005997/0.2671, allocations: 4.571 MB / 468 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.2676, allocations: 95.55 kB / 468.1 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/0.2677, allocations: 32 kB / 468.2 MB, free: 1.988 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.000349/0.268, allocations: 249.6 kB / 468.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.2681, allocations: 67.58 kB / 468.5 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.2703, allocations: 0.9553 MB / 469.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.2703, allocations: 8 kB / 469.4 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2703, allocations: 4 kB / 469.4 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.2704, allocations: 3.984 kB / 469.4 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.2735, allocations: 1.64 MB / 471.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/0.2735, allocations: 4 kB / 471.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.274, allocations: 99.81 kB / 471.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008465/0.2749, allocations: 259 kB / 471.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.2749, allocations: 16 kB / 471.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005594/0.2805, allocations: 4.524 MB / 476 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2805, allocations: 0 / 476 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.2832, allocations: 1.362 MB / 477.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.2835, allocations: 143.2 kB / 477.5 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.632e-05/0.2836, allocations: 16 kB / 477.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.2841, allocations: 39.97 kB / 477.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.2842, allocations: 72.86 kB / 477.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/0.2843, allocations: 35.92 kB / 477.6 MB, free: 8.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003596/0.2847, allocations: 306.9 kB / 477.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2847, allocations: 4 kB / 477.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009532/0.2856, allocations: 311.3 kB / 478.3 MB, free: 7.598 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.0002631/0.2859, allocations: 167.1 kB / 478.4 MB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.2879, allocations: 1.053 MB / 479.5 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2879, allocations: 0 / 479.5 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.2891, allocations: 0.7042 MB / 480.2 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.2897, allocations: 112.8 kB / 480.3 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.2926, allocations: 1.687 MB / 482 MB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.2931, allocations: 400.3 kB / 482.4 MB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002967/0.2933, allocations: 85.19 kB / 482.4 MB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.2935, allocations: 51.42 kB / 482.5 MB, free: 3.227 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2935, allocations: 0 / 482.5 MB, free: 3.227 MB / 382.1 MB Notification: Performance of Templates: time 0.02238/0.3159, allocations: 12.91 MB / 495.4 MB, free: 6.531 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 -s gbode -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: 5.193616901000496]