Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 77.94 kB / 20.67 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002123/0.002123, allocations: 151.5 kB / 23.94 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 173.4 MB / 200.5 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 319 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.52e-05, allocations: 5.516 kB / 319 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.005966/0.005991, allocations: 5.535 MB / 324.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004202/0.01019, allocations: 2.016 MB / 326.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006359/0.01083, allocations: 21.62 kB / 326.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.01296, allocations: 0.7416 MB / 327.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.01506, allocations: 0.7375 MB / 328 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.01629, allocations: 493.5 kB / 328.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.01779, allocations: 1.185 MB / 329.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.0191, allocations: 0.7432 MB / 330.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.02019, allocations: 0.6789 MB / 331.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006667/0.02086, allocations: 411.8 kB / 331.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.02102, allocations: 109.9 kB / 331.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00059/0.02161, allocations: 258.7 kB / 331.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.02187, allocations: 255.7 kB / 332.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004607/0.02233, allocations: 371.7 kB / 332.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.02422, allocations: 1.499 MB / 334 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.02422, allocations: 3.938 kB / 334 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02423, allocations: 0 / 334 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.02424, allocations: 1.156 kB / 334 MB, free: 10.32 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003555/0.0278, allocations: 1.645 MB / 335.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.02783, allocations: 10.08 kB / 335.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.03016, allocations: 373.7 kB / 336 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.03116, allocations: 0.4964 MB / 336.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.315e-05/0.03124, allocations: 79.62 kB / 336.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.03139, allocations: 98.38 kB / 336.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.03338, allocations: 1.117 MB / 337.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.03341, allocations: 5.484 kB / 337.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.03351, allocations: 50.02 kB / 337.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.03353, allocations: 23.53 kB / 337.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.03525, allocations: 0.8443 MB / 338.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.04059, allocations: 2.934 MB / 341.7 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/0.04262, allocations: 0.8517 MB / 342.5 MB, free: 3.863 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000935/0.04356, allocations: 399.4 kB / 342.9 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.797e-05/0.04366, allocations: 16.59 kB / 342.9 MB, free: 3.449 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.04468, allocations: 0.5972 MB / 343.5 MB, free: 2.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 3.296e-06/0.04468, allocations: 0 / 343.5 MB, free: 2.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=84): time 0.004695/0.04938, allocations: 1.485 MB / 345 MB, free: 1.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.04952, allocations: 192.9 kB / 345.2 MB, free: 1.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006333/0.05016, allocations: 437.7 kB / 345.6 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.561e-05/0.05023, allocations: 45.7 kB / 345.7 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.05062, allocations: 420.7 kB / 346.1 MB, free: 172 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.05092, allocations: 285.6 kB / 346.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.0512, allocations: 158.6 kB / 346.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.05142, allocations: 374.8 kB / 346.9 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006981/0.05211, allocations: 265.9 kB / 347.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008778/0.05299, allocations: 0.5762 MB / 347.7 MB, free: 14.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.05437, allocations: 0.7435 MB / 348.5 MB, free: 13.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.05438, allocations: 3.938 kB / 348.5 MB, free: 13.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002201/0.05658, allocations: 1.01 MB / 349.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.0566, allocations: 4 kB / 349.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.05662, allocations: 8 kB / 349.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009794/0.0576, allocations: 261.5 kB / 349.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.05824, allocations: 151.6 kB / 349.9 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006137/0.06437, allocations: 4.541 MB / 354.4 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/0.06518, allocations: 107.4 kB / 354.5 MB, free: 7.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.06525, allocations: 32 kB / 354.6 MB, free: 7.258 MB / 318.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.0004826/0.06573, allocations: 245.5 kB / 354.8 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.06585, allocations: 67.58 kB / 354.9 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.06801, allocations: 0.955 MB / 355.8 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.06802, allocations: 8 kB / 355.8 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.06803, allocations: 4.062 kB / 355.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.06804, allocations: 7.969 kB / 355.9 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.07126, allocations: 1.636 MB / 357.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.07126, allocations: 4 kB / 357.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.07175, allocations: 99.81 kB / 357.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008302/0.07258, allocations: 261.7 kB / 357.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/0.07263, allocations: 16 kB / 357.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00572/0.07835, allocations: 4.512 MB / 362.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.07835, allocations: 3.984 kB / 362.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/0.08105, allocations: 1.369 MB / 363.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/0.08137, allocations: 135.3 kB / 363.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.763e-05/0.08147, allocations: 20 kB / 363.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.08193, allocations: 39.97 kB / 363.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.08211, allocations: 72.86 kB / 364 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/0.08216, allocations: 20 kB / 364 MB, free: 13.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003657/0.08253, allocations: 299.1 kB / 364.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08253, allocations: 0 / 364.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001103/0.08363, allocations: 311.3 kB / 364.6 MB, free: 12.9 MB / 334.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.0003046/0.08393, allocations: 151.2 kB / 364.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.08597, allocations: 1.053 MB / 365.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.08597, allocations: 384 / 365.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.08719, allocations: 0.7043 MB / 366.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.08782, allocations: 102.8 kB / 366.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.09085, allocations: 1.606 MB / 368.2 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.09129, allocations: 403.9 kB / 368.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003211/0.09161, allocations: 77.12 kB / 368.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.09175, allocations: 56.42 kB / 368.8 MB, free: 8.648 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.09175, allocations: 0 / 368.8 MB, free: 8.648 MB / 334.1 MB Notification: Performance of Templates: time 0.02165/0.1134, allocations: 11.45 MB / 380.2 MB, free: 13.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.87704486399889]