Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00194/0.00194, allocations: 108.3 kB / 20.48 MB, free: 1.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002449/0.002449, allocations: 214.8 kB / 23.78 MB, free: 4.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.84 kB / 378.3 MB, free: 2.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2516, allocations: 53.41 MB / 431.7 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.00853/0.2602, allocations: 5.595 MB / 437.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00598/0.2662, allocations: 2.122 MB / 439.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007436/0.2669, allocations: 23.94 kB / 439.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.2689, allocations: 0.7072 MB / 440.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.2708, allocations: 0.5978 MB / 440.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.272, allocations: 0.5144 MB / 441.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.2735, allocations: 1.199 MB / 442.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.2747, allocations: 0.7568 MB / 443.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006626/0.2754, allocations: 490.2 kB / 443.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006794/0.2761, allocations: 485.6 kB / 444.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.2763, allocations: 112 kB / 444.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006172/0.2769, allocations: 267.8 kB / 444.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.2771, allocations: 251.1 kB / 444.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.2776, allocations: 461.8 kB / 445.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.2793, allocations: 1.49 MB / 446.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2793, allocations: 4 kB / 446.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2793, allocations: 4 kB / 446.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.2793, allocations: 0 / 446.8 MB, free: 7.359 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.00347/0.2828, allocations: 1.67 MB / 448.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2828, allocations: 8.031 kB / 448.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.2854, allocations: 391.9 kB / 448.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.2865, allocations: 0.5288 MB / 449.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.2866, allocations: 78.38 kB / 449.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.2867, allocations: 100.3 kB / 449.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.2887, allocations: 1.124 MB / 450.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.2887, allocations: 3.938 kB / 450.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.442e-05/0.2888, allocations: 44 kB / 450.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.2888, allocations: 24 kB / 450.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.2906, allocations: 0.8432 MB / 451.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005356/0.296, allocations: 2.962 MB / 454.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.298, allocations: 0.8596 MB / 455.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009231/0.2989, allocations: 396.2 kB / 455.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.299, allocations: 24.64 kB / 455.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009839/0.3, allocations: 0.5933 MB / 456.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.935e-06/0.3, allocations: 0 / 456.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004668/0.3047, allocations: 1.481 MB / 457.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.3048, allocations: 192.9 kB / 458.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00058/0.3054, allocations: 461.9 kB / 458.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/0.3055, allocations: 41.7 kB / 458.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.3058, allocations: 432.7 kB / 459 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.3061, allocations: 285.5 kB / 459.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.3063, allocations: 162.6 kB / 459.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3065, allocations: 374.7 kB / 459.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/0.3071, allocations: 269.9 kB / 460 MB, free: 9.664 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000832/0.308, allocations: 0.5762 MB / 460.6 MB, free: 8.973 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.3093, allocations: 0.7395 MB / 461.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/0.3093, allocations: 4 kB / 461.4 MB, free: 8.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002223/0.3115, allocations: 1.014 MB / 462.4 MB, free: 7.129 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3116, allocations: 8 kB / 462.4 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3116, allocations: 7.938 kB / 462.4 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009406/0.3125, allocations: 269.1 kB / 462.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/0.3131, allocations: 143.7 kB / 462.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006043/0.3192, allocations: 4.567 MB / 467.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/0.3199, allocations: 87.48 kB / 467.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/0.3199, allocations: 43.92 kB / 467.5 MB, free: 1.824 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.0004309/0.3204, allocations: 238.5 kB / 467.7 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.3205, allocations: 75.58 kB / 467.8 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.3227, allocations: 0.9514 MB / 468.8 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.3227, allocations: 8 kB / 468.8 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3227, allocations: 0 / 468.8 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.3227, allocations: 4.047 kB / 468.8 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003256/0.3259, allocations: 1.659 MB / 470.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3259, allocations: 192 / 470.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/0.3264, allocations: 103.9 kB / 470.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008162/0.3272, allocations: 257.3 kB / 470.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.3273, allocations: 16 kB / 470.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005856/0.3331, allocations: 4.513 MB / 475.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3331, allocations: 4.031 kB / 475.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002896/0.336, allocations: 1.362 MB / 476.7 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.3364, allocations: 131.3 kB / 476.8 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.824e-05/0.3364, allocations: 20 kB / 476.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.3369, allocations: 43.95 kB / 476.9 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.3371, allocations: 72.86 kB / 476.9 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.3372, allocations: 23.94 kB / 477 MB, free: 8.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003943/0.3375, allocations: 318.9 kB / 477.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3375, allocations: 3.938 kB / 477.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00119/0.3387, allocations: 311.3 kB / 477.6 MB, free: 7.441 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.0003224/0.3391, allocations: 167.1 kB / 477.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.3412, allocations: 1.053 MB / 478.8 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.3412, allocations: 4.625 kB / 478.8 MB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.3425, allocations: 0.712 MB / 479.5 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.3431, allocations: 110.4 kB / 479.6 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.3463, allocations: 1.676 MB / 481.3 MB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.3468, allocations: 408.3 kB / 481.7 MB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000301/0.3471, allocations: 77.2 kB / 481.8 MB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.3472, allocations: 52.48 kB / 481.8 MB, free: 3.066 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3472, allocations: 0 / 481.8 MB, free: 3.066 MB / 382.1 MB Notification: Performance of Templates: time 0.02208/0.3693, allocations: 11.63 MB / 493.4 MB, free: 7.598 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.210132668726146]