Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 106 kB / 18.4 MB, free: 4.656 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.001545/0.001545, allocations: 190.5 kB / 19.33 MB, free: 3.738 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.319/1.319, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001238/0.001238, allocations: 59.91 kB / 329.2 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08031/0.08156, allocations: 46.6 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004695/0.0863, allocations: 3.402 MB / 379.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.08787, allocations: 0.8847 MB / 380.1 MB, free: 240 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.08822, allocations: 11.94 kB / 380.1 MB, free: 228 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.08851, allocations: 63.36 kB / 380.2 MB, free: 164 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.08892, allocations: 126.8 kB / 380.3 MB, free: 36 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.176/0.265, allocations: 129.2 kB / 380.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.2661, allocations: 0.5106 MB / 380.9 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.2665, allocations: 174.1 kB / 381.1 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005438/0.2671, allocations: 196.9 kB / 381.3 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.2676, allocations: 212.2 kB / 381.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.2678, allocations: 45.84 kB / 381.6 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.268, allocations: 44.59 kB / 381.6 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.2682, allocations: 104 kB / 381.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.2685, allocations: 227.7 kB / 381.9 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007259/0.2692, allocations: 0.5143 MB / 382.4 MB, free: 9.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2692, allocations: 3.25 kB / 382.4 MB, free: 9.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2692, allocations: 0 / 382.4 MB, free: 9.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.093e-05/0.2692, allocations: 0.6562 kB / 382.4 MB, free: 9.566 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001828/0.2711, allocations: 0.7153 MB / 383.2 MB, free: 9.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.2711, allocations: 9.5 kB / 383.2 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.2713, allocations: 49.8 kB / 383.2 MB, free: 9.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.2719, allocations: 345.2 kB / 383.6 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.272, allocations: 28.88 kB / 383.6 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.2721, allocations: 38.11 kB / 383.6 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008389/0.2729, allocations: 386.3 kB / 384 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.273, allocations: 0 / 384 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/0.273, allocations: 16.89 kB / 384 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.273, allocations: 8.031 kB / 384 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.2736, allocations: 256.3 kB / 384.3 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.276, allocations: 1.459 MB / 385.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.2765, allocations: 236 kB / 386 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/0.277, allocations: 171.1 kB / 386.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.277, allocations: 6.891 kB / 386.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004744/0.2775, allocations: 232.4 kB / 386.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 4.128e-06/0.2775, allocations: 4 kB / 386.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001751/0.2793, allocations: 0.5837 MB / 387 MB, free: 7.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.2794, allocations: 108 kB / 387.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.2798, allocations: 291.7 kB / 387.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.2798, allocations: 33.22 kB / 387.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.28, allocations: 217.5 kB / 387.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.2801, allocations: 98.41 kB / 387.7 MB, free: 6.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.2802, allocations: 68.98 kB / 387.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.2803, allocations: 343.9 kB / 388.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.2806, allocations: 95.42 kB / 388.2 MB, free: 6.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.2809, allocations: 224.5 kB / 388.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/0.2813, allocations: 320.1 kB / 388.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.2814, allocations: 3.75 kB / 388.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008511/0.2822, allocations: 416.6 kB / 389.1 MB, free: 5.727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.2823, allocations: 10.62 kB / 389.1 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.2823, allocations: 5.297 kB / 389.1 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003533/0.2826, allocations: 85.02 kB / 389.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.2829, allocations: 54.22 kB / 389.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.2847, allocations: 2.004 MB / 391.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.285, allocations: 38.53 kB / 391.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.2851, allocations: 13.75 kB / 391.3 MB, free: 3.898 MB / 318.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: 11 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.2853, allocations: 174.8 kB / 391.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/0.2854, allocations: 35.22 kB / 391.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.345e-05/0.2855, allocations: 39 kB / 391.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.2855, allocations: 4.234 kB / 391.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2855, allocations: 0 / 391.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-06/0.2855, allocations: 3.359 kB / 391.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007494/0.2863, allocations: 0.5669 MB / 392.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2863, allocations: 6.344 kB / 392.2 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.2865, allocations: 32 kB / 392.2 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/0.2868, allocations: 80.52 kB / 392.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.2868, allocations: 7.734 kB / 392.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.2885, allocations: 1.987 MB / 394.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2885, allocations: 1.406 kB / 394.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000912/0.2894, allocations: 0.4964 MB / 394.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.2896, allocations: 131.6 kB / 394.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.2896, allocations: 11.72 kB / 394.9 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.2898, allocations: 21.75 kB / 394.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.2899, allocations: 32.11 kB / 394.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.29, allocations: 11.16 kB / 395 MB, free: 1.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.2902, allocations: 206.9 kB / 395.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2902, allocations: 0 / 395.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006174/0.2909, allocations: 113.2 kB / 395.3 MB, free: 0.8945 MB / 318.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001473/0.291, allocations: 118.9 kB / 395.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008969/0.2919, allocations: 418.7 kB / 395.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.292, allocations: 0 / 395.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.2924, allocations: 288.7 kB / 396.1 MB, free: 400 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.2928, allocations: 50.97 kB / 396.1 MB, free: 384 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.2944, allocations: 0.7363 MB / 396.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.2949, allocations: 0.8046 MB / 397.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.28e-05/0.295, allocations: 26.73 kB / 397.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.295, allocations: 1.344 kB / 397.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Templates: time 0.01302/0.308, allocations: 5.92 MB / 403.6 MB, free: 13.58 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches