Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.001433/0.00144, allocations: 105.4 kB / 18.4 MB, free: 4.695 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.001284/0.001284, allocations: 183.1 kB / 19.33 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 51.94 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09266, allocations: 46.62 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00538/0.09808, allocations: 3.621 MB / 379.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1928/0.291, allocations: 1.048 MB / 380.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004364/0.2914, allocations: 13.75 kB / 380.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.2918, allocations: 101.1 kB / 380.6 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007228/0.2925, allocations: 233 kB / 380.8 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.2928, allocations: 141.8 kB / 381 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000854/0.2937, allocations: 0.9591 MB / 381.9 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006839/0.2944, allocations: 0.5586 MB / 382.5 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006021/0.295, allocations: 411.6 kB / 382.9 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006701/0.2957, allocations: 491.6 kB / 383.4 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.2958, allocations: 98.91 kB / 383.5 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.296, allocations: 99.44 kB / 383.6 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.2962, allocations: 274.3 kB / 383.8 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.2966, allocations: 476.8 kB / 384.3 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.2978, allocations: 1.272 MB / 385.6 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2978, allocations: 0 / 385.6 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2978, allocations: 0 / 385.6 MB, free: 8.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.2979, allocations: 4 kB / 385.6 MB, free: 8.742 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001825/0.2997, allocations: 1.15 MB / 386.7 MB, free: 7.969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2997, allocations: 9.844 kB / 386.7 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.2999, allocations: 92.66 kB / 386.8 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007586/0.3007, allocations: 0.6057 MB / 387.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.3007, allocations: 48.06 kB / 387.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.3008, allocations: 62.59 kB / 387.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.3022, allocations: 0.9142 MB / 388.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.3023, allocations: 0 / 388.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/0.3024, allocations: 27.47 kB / 388.5 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.3024, allocations: 29.94 kB / 388.5 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3037, allocations: 0.787 MB / 389.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003653/0.3074, allocations: 2.759 MB / 392.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007826/0.3082, allocations: 0.746 MB / 392.8 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/0.3087, allocations: 337.6 kB / 393.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.3087, allocations: 9.031 kB / 393.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000599/0.3093, allocations: 382.2 kB / 393.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.936e-06/0.3094, allocations: 4 kB / 393.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002588/0.3119, allocations: 1.175 MB / 394.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.312, allocations: 120.9 kB / 394.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006506/0.3127, allocations: 0.5658 MB / 395.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.3127, allocations: 37.19 kB / 395.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.3129, allocations: 352.9 kB / 395.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.911e-05/0.313, allocations: 141.7 kB / 395.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.3132, allocations: 92.05 kB / 396 MB, free: 3.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.3133, allocations: 362.9 kB / 396.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.3136, allocations: 226.8 kB / 396.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.314, allocations: 353.2 kB / 396.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007361/0.3148, allocations: 0.5653 MB / 397.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3148, allocations: 1.25 kB / 397.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001128/0.3159, allocations: 0.7576 MB / 398.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.316, allocations: 6.875 kB / 398.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.316, allocations: 4.125 kB / 398.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004848/0.3165, allocations: 209.9 kB / 398.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.3168, allocations: 75.33 kB / 398.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.3198, allocations: 2.932 MB / 401.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.3203, allocations: 62.61 kB / 401.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.3203, allocations: 16.17 kB / 401.5 MB, free: 15.54 MB / 334.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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 (44): * Single equations (assignments): 43 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005959/0.3209, allocations: 334 kB / 401.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3211, allocations: 55.28 kB / 401.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.3212, allocations: 66.42 kB / 402 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3212, allocations: 5.656 kB / 402 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.3212, allocations: 4 kB / 402 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3213, allocations: 0.7812 kB / 402 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.3238, allocations: 1.614 MB / 403.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3238, allocations: 0 / 403.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.3241, allocations: 54.78 kB / 403.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.3245, allocations: 195.7 kB / 403.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.3246, allocations: 11.33 kB / 403.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/0.3279, allocations: 2.924 MB / 406.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.3279, allocations: 5.781 kB / 406.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.3299, allocations: 1.098 MB / 407.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/0.3302, allocations: 193.2 kB / 408.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.3303, allocations: 10.91 kB / 408.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.3306, allocations: 24.44 kB / 408.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.3307, allocations: 51.48 kB / 408.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.3308, allocations: 14 kB / 408.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000598/0.3314, allocations: 412.3 kB / 408.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3314, allocations: 0 / 408.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008194/0.3322, allocations: 209.5 kB / 408.8 MB, free: 10.37 MB / 334.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001565/0.3324, allocations: 114.5 kB / 408.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.3337, allocations: 0.7366 MB / 409.6 MB, free: 9.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.3338, allocations: 4.938 kB / 409.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007428/0.3345, allocations: 480.8 kB / 410.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007568/0.3353, allocations: 152.3 kB / 410.3 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.3382, allocations: 1.499 MB / 411.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.339, allocations: 1.062 MB / 412.8 MB, free: 7.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.3391, allocations: 43.05 kB / 412.9 MB, free: 7.648 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3391, allocations: 4 kB / 412.9 MB, free: 7.645 MB / 334.1 MB Notification: Performance of Templates: time 0.01908/0.3582, allocations: 12.81 MB / 425.7 MB, free: 11.81 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches