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.001193/0.001193, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00186/0.003052, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001153/0.001153, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.002751, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.994/0.994, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0784/1.072, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] 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 1.553e-06/1.553e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.217e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.0071/0.007123, allocations: 6.097 MB / 251.3 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004287/0.01141, allocations: 2.273 MB / 253.6 MB, free: 5.121 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005059/0.01192, allocations: 23.88 kB / 253.6 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.01343, allocations: 0.7924 MB / 254.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.01484, allocations: 0.6052 MB / 255 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.01592, allocations: 0.5259 MB / 255.5 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.0172, allocations: 1.23 MB / 256.8 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.01827, allocations: 0.7494 MB / 257.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009758/0.01925, allocations: 0.769 MB / 258.3 MB, free: 392 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006387/0.01989, allocations: 426.8 kB / 258.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.02006, allocations: 116 kB / 258.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000604/0.02066, allocations: 279.7 kB / 259.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.02084, allocations: 191.3 kB / 259.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.02118, allocations: 311.4 kB / 259.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.02238, allocations: 0.9106 MB / 260.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.02239, allocations: 0 / 260.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.02239, allocations: 0 / 260.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.135e-05/0.02241, allocations: 0 / 260.5 MB, free: 14.17 MB / 266.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.00263/0.02504, allocations: 1.686 MB / 262.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.02508, allocations: 20.61 kB / 262.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.02727, allocations: 0.512 MB / 262.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006715/0.02794, allocations: 391 kB / 263.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.385e-05/0.02801, allocations: 74.38 kB / 263.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.02815, allocations: 104.4 kB / 263.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.02926, allocations: 0.832 MB / 264.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.02929, allocations: 192 / 264.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.939e-05/0.02937, allocations: 48.11 kB / 264.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.0294, allocations: 28 kB / 264.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000648/0.03004, allocations: 317.7 kB / 264.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003017/0.03306, allocations: 2.415 MB / 266.9 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007941/0.03386, allocations: 0.667 MB / 267.6 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.03416, allocations: 263.4 kB / 267.8 MB, free: 6.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.059e-05/0.03423, allocations: 36.58 kB / 267.8 MB, free: 6.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000363/0.03459, allocations: 455.5 kB / 268.3 MB, free: 6.039 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 1.813e-06/0.03459, allocations: 0 / 268.3 MB, free: 6.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.001654/0.03625, allocations: 0.952 MB / 269.2 MB, free: 5.074 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.03628, allocations: 94.17 kB / 269.3 MB, free: 4.961 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.03652, allocations: 419 kB / 269.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.03656, allocations: 45.7 kB / 269.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.03671, allocations: 385.6 kB / 270.2 MB, free: 4.105 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.03685, allocations: 289.5 kB / 270.4 MB, free: 3.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.03698, allocations: 154.5 kB / 270.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.03708, allocations: 378.6 kB / 271 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.03718, allocations: 85.95 kB / 271.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.03741, allocations: 410.1 kB / 271.5 MB, free: 2.684 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.03778, allocations: 475.2 kB / 271.9 MB, free: 2.148 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.03778, allocations: 8 kB / 271.9 MB, free: 2.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.000602/0.03838, allocations: 0.5534 MB / 272.5 MB, free: 1.574 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.0384, allocations: 8.062 kB / 272.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.03841, allocations: 8 kB / 272.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004788/0.03889, allocations: 233.4 kB / 272.7 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.03918, allocations: 155.8 kB / 272.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.04152, allocations: 3.584 MB / 276.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.04181, allocations: 95.52 kB / 276.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.04184, allocations: 28 kB / 276.6 MB, free: 13.31 MB / 282.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.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.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.0001888/0.04203, allocations: 176.2 kB / 276.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.442e-05/0.0421, allocations: 71.92 kB / 276.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006556/0.04276, allocations: 0.5432 MB / 277.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.04276, allocations: 8 kB / 277.4 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.04276, allocations: 64 / 277.4 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.04277, allocations: 7.984 kB / 277.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.04389, allocations: 0.9745 MB / 278.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.04389, allocations: 4.031 kB / 278.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.04411, allocations: 103.9 kB / 278.5 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.04424, allocations: 87.38 kB / 278.5 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000425/0.04466, allocations: 218.5 kB / 278.8 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.04469, allocations: 16 kB / 278.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.04685, allocations: 3.529 MB / 282.3 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.04685, allocations: 7.938 kB / 282.3 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007353/0.04758, allocations: 0.7184 MB / 283 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.04764, allocations: 16 kB / 283 MB, free: 6.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.04781, allocations: 43.91 kB / 283.1 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.04793, allocations: 68.86 kB / 283.2 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.04795, allocations: 27.98 kB / 283.2 MB, free: 6.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.04808, allocations: 176.4 kB / 283.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.04808, allocations: 0 / 283.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006514/0.04873, allocations: 311.3 kB / 283.7 MB, free: 5.961 MB / 282.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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.0002095/0.04894, allocations: 147.8 kB / 283.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007423/0.04968, allocations: 0.7664 MB / 284.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.086e-05/0.0497, allocations: 20.95 kB / 284.6 MB, free: 5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.05017, allocations: 0.62 MB / 285.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.05083, allocations: 1.037 MB / 286.2 MB, free: 3.117 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/0.05654, allocations: 1.594 MB / 287.8 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.05668, allocations: 188.7 kB / 288 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002081/0.05689, allocations: 81.33 kB / 288.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.05712, allocations: 177.3 kB / 288.3 MB, free: 1.023 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.05712, allocations: 0 / 288.3 MB, free: 1.023 MB / 282.7 MB Notification: Performance of Templates: time 0.1068/0.1639, allocations: 13.07 MB / 301.3 MB, free: 25.54 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0660543283447623]