Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009519/0.0009519, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 165.7 kB / 25.33 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8657/0.8657, allocations: 158.6 MB / 187.2 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.458e-05, allocations: 2.312 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.005608/0.005623, allocations: 6.127 MB / 257.2 MB, free: 1.348 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003454/0.009076, allocations: 2.13 MB / 259.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/0.009484, allocations: 27.88 kB / 259.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.01079, allocations: 0.7887 MB / 260.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.01216, allocations: 0.6325 MB / 260.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.0129, allocations: 0.4908 MB / 261.2 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.01395, allocations: 1.237 MB / 262.5 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008728/0.01482, allocations: 0.757 MB / 263.2 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006348/0.01546, allocations: 0.6938 MB / 263.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005033/0.01596, allocations: 438.7 kB / 264.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.01609, allocations: 108 kB / 264.5 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003942/0.01648, allocations: 263.7 kB / 264.7 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.01666, allocations: 259 kB / 265 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.01697, allocations: 379.1 kB / 265.3 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000987/0.01796, allocations: 0.9769 MB / 266.3 MB, free: 8.145 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01796, allocations: 0 / 266.3 MB, free: 8.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01796, allocations: 0 / 266.3 MB, free: 8.145 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.01797, allocations: 0 / 266.3 MB, free: 8.145 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002615/0.02059, allocations: 1.802 MB / 268.1 MB, free: 6.285 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.02062, allocations: 11.98 kB / 268.1 MB, free: 6.273 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/0.02292, allocations: 0.6245 MB / 268.8 MB, free: 5.648 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/0.02355, allocations: 0.4977 MB / 269.3 MB, free: 5.121 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.775e-05/0.0236, allocations: 78.39 kB / 269.3 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.02373, allocations: 108.4 kB / 269.4 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.025, allocations: 0.9312 MB / 270.4 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.02503, allocations: 4.188 kB / 270.4 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.949e-05/0.02511, allocations: 43.94 kB / 270.4 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.02513, allocations: 24 kB / 270.4 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009471/0.02608, allocations: 499.5 kB / 270.9 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/0.02987, allocations: 3.248 MB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.03143, allocations: 0.8475 MB / 275 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004883/0.03192, allocations: 305.1 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.656e-05/0.03197, allocations: 20.64 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006497/0.03262, allocations: 498.3 kB / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=86): time 2.544e-06/0.03262, allocations: 0 / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=86): time 0.002834/0.03546, allocations: 1.163 MB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.03554, allocations: 196.9 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.03594, allocations: 482.4 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.03598, allocations: 45.7 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.03622, allocations: 479.3 kB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.0364, allocations: 293.5 kB / 278.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.0366, allocations: 176.2 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.03677, allocations: 0.5508 MB / 279.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.03704, allocations: 137.9 kB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/0.03751, allocations: 0.5854 MB / 279.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007261/0.03824, allocations: 0.636 MB / 280.5 MB, free: 9.148 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.03824, allocations: 0 / 280.5 MB, free: 9.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001486/0.03973, allocations: 0.828 MB / 281.4 MB, free: 8.305 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.03974, allocations: 12.12 kB / 281.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.03975, allocations: 8 kB / 281.4 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007078/0.04046, allocations: 259.1 kB / 281.6 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.04087, allocations: 159.7 kB / 281.8 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/0.04462, allocations: 5.135 MB / 286.9 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.04498, allocations: 103.4 kB / 287 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.04503, allocations: 36 kB / 287.1 MB, free: 2.359 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean1.y,$PRE.iAC.mean1.y,iAC.mean2.y,$PRE.iAC.mean2.y,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 (90): * Single equations (assignments): 88 * 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.000209/0.04524, allocations: 224.3 kB / 287.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.04535, allocations: 99.52 kB / 287.4 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.04652, allocations: 0.7267 MB / 288.1 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.04653, allocations: 8 kB / 288.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.04653, allocations: 4 kB / 288.1 MB, free: 1.277 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.04654, allocations: 7.922 kB / 288.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.04864, allocations: 1.44 MB / 289.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.04865, allocations: 0 / 289.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.04893, allocations: 91.89 kB / 289.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006179/0.04955, allocations: 267 kB / 289.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.04959, allocations: 16 kB / 289.9 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003524/0.05311, allocations: 5.112 MB / 295 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.05311, allocations: 4 kB / 295 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.0547, allocations: 0.9905 MB / 296 MB, free: 9.016 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.05489, allocations: 139.3 kB / 296.2 MB, free: 8.879 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/0.05496, allocations: 19.94 kB / 296.2 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.05522, allocations: 35.98 kB / 296.2 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.05536, allocations: 84.86 kB / 296.3 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.0554, allocations: 24 kB / 296.3 MB, free: 8.719 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.05563, allocations: 299 kB / 296.6 MB, free: 8.426 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05563, allocations: 4 kB / 296.6 MB, free: 8.422 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008016/0.05643, allocations: 319.4 kB / 296.9 MB, free: 8.109 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,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y,iAC.mean1.y) * 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 (59): * Single equations (assignments): 54 * 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.0002067/0.05664, allocations: 155.1 kB / 297.1 MB, free: 7.949 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.05777, allocations: 0.9728 MB / 298.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.05777, allocations: 0 / 298.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007001/0.05847, allocations: 0.748 MB / 298.8 MB, free: 6.152 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.05896, allocations: 130.2 kB / 298.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.06133, allocations: 1.597 MB / 300.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.06148, allocations: 184.7 kB / 300.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002321/0.06172, allocations: 89.31 kB / 300.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.06183, allocations: 48.5 kB / 300.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.06183, allocations: 0 / 300.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of Templates: time 0.0161/0.07793, allocations: 12.39 MB / 313.2 MB, free: 7.684 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Rectifier/Rectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.165754336863756]