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.001491/0.001491, allocations: 116.5 kB / 18.41 MB, free: 4.684 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.001623/0.001623, allocations: 190.7 kB / 21.35 MB, free: 1.75 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.406/1.406, allocations: 222.9 MB / 247 MB, free: 4.359 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 0.001524/0.001524, allocations: 43.92 kB / 358.7 MB, free: 8.645 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.09812, allocations: 49.43 MB / 408.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007741/0.1059, allocations: 6.226 MB / 414.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003815/0.1097, allocations: 2.133 MB / 416.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.1101, allocations: 16 kB / 416.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.1119, allocations: 0.7462 MB / 417.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.1136, allocations: 0.7533 MB / 418 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009934/0.1146, allocations: 0.4986 MB / 418.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.116, allocations: 1.172 MB / 419.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.1173, allocations: 0.8315 MB / 420.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005774/0.1179, allocations: 458.3 kB / 420.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007394/0.1186, allocations: 0.5367 MB / 421.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.1188, allocations: 116 kB / 421.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005943/0.1194, allocations: 263.9 kB / 421.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.1197, allocations: 251.1 kB / 422.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005931/0.1203, allocations: 0.5403 MB / 422.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.1221, allocations: 1.455 MB / 424.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1222, allocations: 0 / 424.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1222, allocations: 0 / 424.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.1222, allocations: 0 / 424.1 MB, free: 7.113 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.003283/0.1255, allocations: 1.46 MB / 425.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1255, allocations: 8.031 kB / 425.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.1278, allocations: 375.9 kB / 425.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009641/0.1288, allocations: 0.562 MB / 426.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.442e-05/0.1289, allocations: 82.31 kB / 426.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.1291, allocations: 104.4 kB / 426.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.131, allocations: 1.012 MB / 427.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.131, allocations: 4 kB / 427.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.625e-05/0.1312, allocations: 43.98 kB / 427.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.1312, allocations: 24 kB / 427.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.1329, allocations: 0.8511 MB / 428.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1904/0.3234, allocations: 3.506 MB / 432.1 MB, free: 20.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.3252, allocations: 1.898 MB / 434 MB, free: 19.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008303/0.3261, allocations: 464.7 kB / 434.4 MB, free: 19.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.221e-05/0.3262, allocations: 94.98 kB / 434.5 MB, free: 19.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008306/0.327, allocations: 493.5 kB / 435 MB, free: 19.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 4.829e-06/0.3271, allocations: 2.875 kB / 435 MB, free: 19.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.004329/0.3314, allocations: 1.689 MB / 436.7 MB, free: 19.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.3315, allocations: 192.3 kB / 436.9 MB, free: 18.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006133/0.3321, allocations: 463.5 kB / 437.4 MB, free: 18.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.3322, allocations: 42.98 kB / 437.4 MB, free: 18.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.3324, allocations: 422.2 kB / 437.8 MB, free: 18.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.3326, allocations: 286.4 kB / 438.1 MB, free: 18.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.3329, allocations: 157.5 kB / 438.2 MB, free: 18.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.333, allocations: 383.4 kB / 438.6 MB, free: 18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.3335, allocations: 269.5 kB / 438.9 MB, free: 18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006379/0.3342, allocations: 485 kB / 439.4 MB, free: 17.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.3353, allocations: 0.741 MB / 440.1 MB, free: 17.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.3353, allocations: 2.328 kB / 440.1 MB, free: 17.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00191/0.3372, allocations: 1.035 MB / 441.1 MB, free: 17.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3373, allocations: 7.75 kB / 441.1 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.3373, allocations: 5.594 kB / 441.1 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008816/0.3382, allocations: 273.2 kB / 441.4 MB, free: 17.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.3387, allocations: 144.8 kB / 441.6 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004806/0.3435, allocations: 4.867 MB / 446.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006745/0.3442, allocations: 101.1 kB / 446.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.932e-05/0.3443, allocations: 36.31 kB / 446.6 MB, free: 14.28 MB / 350.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.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.0004016/0.3448, allocations: 250.6 kB / 446.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.3449, allocations: 70.33 kB / 446.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.3469, allocations: 0.9682 MB / 447.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.3469, allocations: 9.312 kB / 447.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.347, allocations: 8.734 kB / 447.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.347, allocations: 5.344 kB / 447.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.3501, allocations: 1.907 MB / 449.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3501, allocations: 5.031 kB / 449.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.3506, allocations: 95.62 kB / 449.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000803/0.3514, allocations: 258.4 kB / 450.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/0.3515, allocations: 21.61 kB / 450.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004507/0.356, allocations: 4.813 MB / 455 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.356, allocations: 1.125 kB / 455 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.3586, allocations: 1.376 MB / 456.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.359, allocations: 213.9 kB / 456.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.3591, allocations: 26.61 kB / 456.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/0.3596, allocations: 37.59 kB / 456.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.3598, allocations: 68.56 kB / 456.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/0.3598, allocations: 27.09 kB / 456.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003457/0.3602, allocations: 314.5 kB / 457 MB, free: 8.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3602, allocations: 0 / 457 MB, free: 8.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001132/0.3613, allocations: 315.8 kB / 457.3 MB, free: 7.922 MB / 350.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,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.0002464/0.3616, allocations: 155 kB / 457.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.3635, allocations: 1.094 MB / 458.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.3636, allocations: 3.906 kB / 458.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.3646, allocations: 0.7452 MB / 459.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/0.3653, allocations: 117.3 kB / 459.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.3683, allocations: 1.697 MB / 461.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.3688, allocations: 0.9889 MB / 462.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.369, allocations: 60.69 kB / 462.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.369, allocations: 4 kB / 462.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of Templates: time 0.02043/0.3894, allocations: 17.27 MB / 479.4 MB, free: 7.93 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.835338704986498]