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.001111/0.001111, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.00496/0.00496, allocations: 145.3 kB / 24.68 MB, free: 9.422 MB / 18.57 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 0.8166/0.8166, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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.202e-06/1.202e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.8e-05, allocations: 10.22 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.004461/0.004479, allocations: 5.531 MB / 325.2 MB, free: 300 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.006436, allocations: 2.032 MB / 327.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.006665, allocations: 23.94 kB / 327.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008937/0.007558, allocations: 0.7302 MB / 328 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000803/0.008361, allocations: 0.7608 MB / 328.8 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.008837, allocations: 490.6 kB / 329.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006975/0.009534, allocations: 1.22 MB / 330.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006695/0.0102, allocations: 0.7531 MB / 331.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006795/0.01088, allocations: 0.6782 MB / 331.9 MB, free: 9.566 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.01125, allocations: 406.8 kB / 332.3 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.944e-05/0.01134, allocations: 112 kB / 332.4 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.01162, allocations: 259.7 kB / 332.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.01176, allocations: 255.1 kB / 332.9 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.01197, allocations: 371.1 kB / 333.3 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009593/0.01293, allocations: 1.499 MB / 334.8 MB, free: 6.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.01293, allocations: 4 kB / 334.8 MB, free: 6.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01294, allocations: 0 / 334.8 MB, free: 6.684 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.01294, allocations: 0 / 334.8 MB, free: 6.684 MB / 298.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.001781/0.01472, allocations: 1.631 MB / 336.4 MB, free: 5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.01476, allocations: 8.922 kB / 336.4 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.01578, allocations: 375.9 kB / 336.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.01632, allocations: 0.5009 MB / 337.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.01637, allocations: 74.38 kB / 337.4 MB, free: 4.023 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.329e-05/0.01646, allocations: 100.4 kB / 337.5 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.01755, allocations: 1.117 MB / 338.6 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.01758, allocations: 16.08 kB / 338.6 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.685e-05/0.01765, allocations: 44.12 kB / 338.6 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.01767, allocations: 24 kB / 338.7 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.01895, allocations: 0.8432 MB / 339.5 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/0.02285, allocations: 2.931 MB / 342.4 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.02447, allocations: 0.8478 MB / 343.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007622/0.02523, allocations: 399.5 kB / 343.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.291e-05/0.02531, allocations: 20.59 kB / 343.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008293/0.02614, allocations: 0.5894 MB / 344.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 3.005e-06/0.02614, allocations: 4 kB / 344.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.003741/0.02988, allocations: 1.485 MB / 345.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000575/0.03045, allocations: 196.9 kB / 346 MB, free: 11.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.03091, allocations: 433.7 kB / 346.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.03096, allocations: 45.69 kB / 346.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.03123, allocations: 420.6 kB / 346.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.03143, allocations: 293.6 kB / 347.1 MB, free: 9.941 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.03165, allocations: 154.6 kB / 347.3 MB, free: 9.785 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.03178, allocations: 370.8 kB / 347.6 MB, free: 9.414 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/0.03227, allocations: 265.8 kB / 347.9 MB, free: 9.156 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/0.03292, allocations: 0.5762 MB / 348.5 MB, free: 8.469 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.03399, allocations: 0.7318 MB / 349.2 MB, free: 7.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.034, allocations: 11.88 kB / 349.2 MB, free: 7.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001689/0.03569, allocations: 1.01 MB / 350.2 MB, free: 6.625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.03571, allocations: 8 kB / 350.2 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.03573, allocations: 4 kB / 350.2 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000722/0.03645, allocations: 272.7 kB / 350.5 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.03688, allocations: 139.8 kB / 350.6 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004967/0.04185, allocations: 4.558 MB / 355.2 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.04229, allocations: 95.42 kB / 355.3 MB, free: 1.355 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.04234, allocations: 36 kB / 355.3 MB, free: 1.32 MB / 314.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.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.0003564/0.0427, allocations: 241.6 kB / 355.6 MB, free: 1.074 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.903e-05/0.04279, allocations: 67.58 kB / 355.6 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.04446, allocations: 0.9551 MB / 356.6 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.04447, allocations: 12 kB / 356.6 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.04447, allocations: 4.188 kB / 356.6 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.04448, allocations: 3.984 kB / 356.6 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.04707, allocations: 1.644 MB / 358.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.04708, allocations: 0 / 358.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.04741, allocations: 95.88 kB / 358.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006181/0.04803, allocations: 265.4 kB / 358.6 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.04808, allocations: 20 kB / 358.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004625/0.0527, allocations: 4.502 MB / 363.1 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.0527, allocations: 0 / 363.1 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.05485, allocations: 1.37 MB / 364.5 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.05511, allocations: 135.4 kB / 364.6 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.631e-05/0.05518, allocations: 19.98 kB / 364.6 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.05552, allocations: 43.97 kB / 364.7 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.05566, allocations: 72.86 kB / 364.8 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.0557, allocations: 31.94 kB / 364.8 MB, free: 7.555 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002826/0.05599, allocations: 287.1 kB / 365.1 MB, free: 7.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.05599, allocations: 0 / 365.1 MB, free: 7.273 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009957/0.05698, allocations: 311.3 kB / 365.4 MB, free: 6.969 MB / 330.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,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.0002738/0.05726, allocations: 151.3 kB / 365.5 MB, free: 6.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.05887, allocations: 1.056 MB / 366.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.05888, allocations: 0 / 366.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.06012, allocations: 0.7213 MB / 367.3 MB, free: 4.988 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.0607, allocations: 104.5 kB / 367.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.06348, allocations: 1.642 MB / 369 MB, free: 3.207 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.06386, allocations: 395.9 kB / 369.4 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.06403, allocations: 64.48 kB / 369.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.06403, allocations: 0 / 369.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of Templates: time 0.01459/0.07861, allocations: 17.46 MB / 386.9 MB, free: 1.293 MB / 346.7 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: 5.195171118713915]