Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 115.7 kB / 17.74 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 189.6 kB / 18.67 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 39.94 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2228, allocations: 49.43 MB / 401.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.0047/0.2275, allocations: 3.66 MB / 405.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.2294, allocations: 1.005 MB / 406.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.2296, allocations: 15.94 kB / 406.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.2299, allocations: 107.1 kB / 406.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006662/0.2306, allocations: 226.7 kB / 406.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.2309, allocations: 143.7 kB / 406.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009242/0.2318, allocations: 0.9534 MB / 407.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006864/0.2325, allocations: 0.5926 MB / 408.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.233, allocations: 410.6 kB / 408.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006733/0.2336, allocations: 0.4942 MB / 409 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.2338, allocations: 100 kB / 409.1 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.234, allocations: 100 kB / 409.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.2342, allocations: 275.2 kB / 409.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004302/0.2347, allocations: 477.8 kB / 409.9 MB, free: 468 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.2357, allocations: 1.282 MB / 411.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2358, allocations: 4 kB / 411.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2358, allocations: 4 kB / 411.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.2358, allocations: 0 / 411.2 MB, free: 15.17 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00204/0.2378, allocations: 1.166 MB / 412.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2379, allocations: 12.02 kB / 412.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.238, allocations: 91.91 kB / 412.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000828/0.2389, allocations: 0.6313 MB / 413.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.2389, allocations: 61.25 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.239, allocations: 63.94 kB / 413.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.2405, allocations: 0.9228 MB / 414.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.2406, allocations: 0 / 414.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.653e-05/0.2407, allocations: 28 kB / 414.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.2407, allocations: 29.3 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.242, allocations: 0.7936 MB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003735/0.2458, allocations: 2.772 MB / 417.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.2467, allocations: 0.7505 MB / 418.5 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/0.2473, allocations: 341.2 kB / 418.9 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.2473, allocations: 4.328 kB / 418.9 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005972/0.2479, allocations: 377.9 kB / 419.3 MB, free: 6.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 3.697e-06/0.2479, allocations: 0 / 419.3 MB, free: 6.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002767/0.2507, allocations: 1.236 MB / 420.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.2508, allocations: 114.8 kB / 420.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.2514, allocations: 0.5643 MB / 421.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.2515, allocations: 37.7 kB / 421.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.2518, allocations: 359.9 kB / 421.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.2519, allocations: 138 kB / 421.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.252, allocations: 90.25 kB / 421.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2522, allocations: 362.8 kB / 422.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.2526, allocations: 225 kB / 422.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.253, allocations: 361.7 kB / 422.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007978/0.2538, allocations: 0.5613 MB / 423.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2538, allocations: 0 / 423.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001237/0.2551, allocations: 0.7585 MB / 424 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2551, allocations: 8 kB / 424 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.2551, allocations: 4.5 kB / 424 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005103/0.2556, allocations: 208.7 kB / 424.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.256, allocations: 75.89 kB / 424.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/0.2594, allocations: 3.024 MB / 427.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.2598, allocations: 59.61 kB / 427.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.2599, allocations: 20 kB / 427.4 MB, free: 14.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004357/0.2603, allocations: 329.5 kB / 427.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.183e-05/0.2604, allocations: 55.34 kB / 427.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.2606, allocations: 73.27 kB / 427.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2606, allocations: 4 kB / 427.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2606, allocations: 0 / 427.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2606, allocations: 11.92 kB / 427.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.2632, allocations: 1.733 MB / 429.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2632, allocations: 4 kB / 429.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.2635, allocations: 43.91 kB / 429.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004201/0.2639, allocations: 200.8 kB / 429.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.2639, allocations: 11.98 kB / 429.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/0.2669, allocations: 2.911 MB / 432.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.267, allocations: 3.938 kB / 432.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.2688, allocations: 1.136 MB / 433.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.269, allocations: 200.2 kB / 434.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.231e-05/0.2691, allocations: 19.98 kB / 434.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.2694, allocations: 23.97 kB / 434.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.2696, allocations: 43.94 kB / 434.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.2696, allocations: 12 kB / 434.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005033/0.2701, allocations: 418.8 kB / 434.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2701, allocations: 3.938 kB / 434.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007385/0.2709, allocations: 207.3 kB / 434.8 MB, free: 6.645 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001566/0.271, allocations: 111.2 kB / 434.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.2723, allocations: 0.7409 MB / 435.7 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2723, allocations: 0 / 435.7 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006723/0.273, allocations: 482 kB / 436.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007032/0.2737, allocations: 153.7 kB / 436.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.2763, allocations: 1.55 MB / 437.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/0.277, allocations: 1.062 MB / 438.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.2771, allocations: 39.44 kB / 438.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2771, allocations: 4 kB / 439 MB, free: 2.422 MB / 350.1 MB Notification: Performance of Templates: time 0.01517/0.2923, allocations: 12.86 MB / 451.8 MB, free: 5.605 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches