Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.009442/0.009441, allocations: 186.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.775/3.775, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001791/0.001791, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005946/0.000595, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2311, allocations: 47.57 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.01987/0.251, allocations: 5.071 MB / 379.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008324/0.2594, allocations: 2.058 MB / 381.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.2609, allocations: 19.94 kB / 381.7 MB, free: 8.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.2625, allocations: 202.7 kB / 381.9 MB, free: 8.055 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004598/0.2672, allocations: 0.7281 MB / 382.6 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.2709, allocations: 367.2 kB / 383 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003411/0.2743, allocations: 0.7801 MB / 383.8 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004117/0.2785, allocations: 0.9258 MB / 384.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.2799, allocations: 370.5 kB / 385 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.2814, allocations: 458 kB / 385.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004285/0.282, allocations: 48 kB / 385.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.2832, allocations: 179.8 kB / 385.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.2836, allocations: 175.2 kB / 385.9 MB, free: 4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004935/0.2841, allocations: 205.2 kB / 386.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.2872, allocations: 1.06 MB / 387.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2873, allocations: 0 / 387.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.246e-06/0.2874, allocations: 3.984 kB / 387.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.05e-05/0.2874, allocations: 0 / 387.1 MB, free: 2.727 MB / 282.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.007844/0.2953, allocations: 1.284 MB / 388.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.2954, allocations: 8.031 kB / 388.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007596/0.303, allocations: 474.3 kB / 388.9 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.3057, allocations: 0.5529 MB / 389.5 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.306, allocations: 85.97 kB / 389.5 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000532/0.3065, allocations: 100 kB / 389.6 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3977/0.7043, allocations: 1.04 MB / 390.7 MB, free: 19.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.609e-05/0.7044, allocations: 2.219 kB / 390.7 MB, free: 19.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002684/0.7047, allocations: 42.94 kB / 390.7 MB, free: 19.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.355e-05/0.7048, allocations: 28.03 kB / 390.8 MB, free: 19.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/0.7185, allocations: 0.9364 MB / 391.7 MB, free: 19.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.7352, allocations: 3.766 MB / 395.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006603/0.7419, allocations: 2.497 MB / 397.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.7422, allocations: 97.73 kB / 398 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002396/0.7446, allocations: 0.497 MB / 398.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of pre-optimization done (n=86): time 7.614e-06/0.7447, allocations: 0 / 398.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=86): time 0.01318/0.7579, allocations: 1.688 MB / 400.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.7581, allocations: 192.8 kB / 400.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.7595, allocations: 467.8 kB / 400.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002946/0.7598, allocations: 50.8 kB / 400.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007775/0.7606, allocations: 466.8 kB / 401.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005698/0.7612, allocations: 283.2 kB / 401.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.7614, allocations: 20.16 kB / 401.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.7616, allocations: 350.8 kB / 402 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.7633, allocations: 284.9 kB / 402.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.7654, allocations: 0.522 MB / 402.8 MB, free: 12.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.7673, allocations: 350.9 kB / 403.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-05/0.7674, allocations: 2.219 kB / 403.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005567/0.773, allocations: 1.059 MB / 404.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/0.7731, allocations: 12.64 kB / 404.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/0.7732, allocations: 10.03 kB / 404.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002409/0.7756, allocations: 265 kB / 404.5 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.7777, allocations: 172 kB / 404.7 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.7899, allocations: 4.466 MB / 409.1 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.7918, allocations: 115.1 kB / 409.3 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/0.792, allocations: 37.72 kB / 409.3 MB, free: 7.727 MB / 282.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,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of prepare postOptimizeDAE: time 0.0009175/0.793, allocations: 253 kB / 409.5 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.7933, allocations: 70.06 kB / 409.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005154/0.7985, allocations: 0.9901 MB / 410.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.902e-05/0.7986, allocations: 8.688 kB / 410.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.497e-06/0.7986, allocations: 0.875 kB / 410.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-05/0.7986, allocations: 8.312 kB / 410.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008096/0.8068, allocations: 1.953 MB / 412.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.8068, allocations: 0 / 412.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.8083, allocations: 109.9 kB / 412.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002202/0.8105, allocations: 265.4 kB / 412.9 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/0.8108, allocations: 21.08 kB / 412.9 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/0.8221, allocations: 4.432 MB / 417.4 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.8221, allocations: 0 / 417.4 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006408/0.8286, allocations: 1.423 MB / 418.8 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000682/0.8293, allocations: 223.1 kB / 419 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.8296, allocations: 19.95 kB / 419 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.8309, allocations: 51.44 kB / 419.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003894/0.8313, allocations: 64.28 kB / 419.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.8314, allocations: 31.55 kB / 419.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000783/0.8322, allocations: 312.9 kB / 419.5 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.254e-06/0.8322, allocations: 0 / 419.5 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002479/0.8347, allocations: 316.2 kB / 419.8 MB, free: 468 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005032/0.8353, allocations: 154.7 kB / 420 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004951/0.8403, allocations: 1.116 MB / 421.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.8404, allocations: 4 kB / 421.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003331/0.8437, allocations: 0.7497 MB / 421.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.8452, allocations: 107.8 kB / 421.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008207/0.8534, allocations: 2.097 MB / 424 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.8548, allocations: 1.014 MB / 425 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/0.8554, allocations: 55.42 kB / 425.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of SimCode: time 1.422e-06/0.8555, allocations: 0 / 425.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of Templates: time 0.05439/0.9099, allocations: 16.79 MB / 441.9 MB, free: 10.67 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches