Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.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_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002122/0.002122, allocations: 185.2 kB / 17.41 MB, free: 4.402 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.048/3.048, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001159/0.001159, allocations: 83.86 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000589/0.0005892, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/0.5763, allocations: 47.58 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.7645, allocations: 80.61 MB / 456.3 MB, free: 24 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005419/0.7651, allocations: 84.02 kB / 456.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02999/0.7951, allocations: 6.283 MB / 462.7 MB, free: 9.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.382e-06/0.7952, allocations: 0 / 462.7 MB, free: 9.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.678e-05/0.7953, allocations: 12 kB / 462.7 MB, free: 9.609 MB / 346.7 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.002519/0.7979, allocations: 0.6503 MB / 463.4 MB, free: 8.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001457/0.798, allocations: 8.031 kB / 463.4 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.7983, allocations: 48.38 kB / 463.4 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.7996, allocations: 352.1 kB / 463.8 MB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.7997, allocations: 29.38 kB / 463.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/0.7999, allocations: 36.38 kB / 463.8 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.8018, allocations: 379.8 kB / 464.2 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.8019, allocations: 4.172 kB / 464.2 MB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.99e-05/0.802, allocations: 19.94 kB / 464.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.8021, allocations: 8 kB / 464.2 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.8032, allocations: 270.4 kB / 464.5 MB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/0.807, allocations: 1.48 MB / 466 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.8076, allocations: 243.4 kB / 466.2 MB, free: 5.898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/0.8081, allocations: 165.3 kB / 466.4 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.535e-05/0.8082, allocations: 4.234 kB / 466.4 MB, free: 5.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005028/0.8087, allocations: 242.4 kB / 466.6 MB, free: 5.473 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 4.038e-06/0.8087, allocations: 0 / 466.6 MB, free: 5.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.00183/0.8105, allocations: 0.6009 MB / 467.2 MB, free: 4.844 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.8107, allocations: 106.8 kB / 467.3 MB, free: 4.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.8113, allocations: 292.5 kB / 467.6 MB, free: 4.418 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.8113, allocations: 37.69 kB / 467.6 MB, free: 4.375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.8116, allocations: 208.4 kB / 467.9 MB, free: 4.168 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.8117, allocations: 102.5 kB / 468 MB, free: 4.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.8118, allocations: 4 kB / 468 MB, free: 4.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002792/0.8121, allocations: 342.8 kB / 468.3 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.8123, allocations: 95.95 kB / 468.4 MB, free: 3.625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004733/0.8128, allocations: 219.3 kB / 468.6 MB, free: 3.355 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008141/0.8137, allocations: 313.9 kB / 468.9 MB, free: 3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.8137, allocations: 0 / 468.9 MB, free: 3 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00118/0.8149, allocations: 417.8 kB / 469.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.8149, allocations: 8 kB / 469.3 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.815, allocations: 7.938 kB / 469.3 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005964/0.8156, allocations: 76.81 kB / 469.4 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/0.8161, allocations: 59.91 kB / 469.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/0.8197, allocations: 1.803 MB / 471.3 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006415/0.8204, allocations: 43.67 kB / 471.3 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.8204, allocations: 12 kB / 471.3 MB, free: 448 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005636/0.821, allocations: 166.8 kB / 471.5 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.8211, allocations: 35.61 kB / 471.5 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.8213, allocations: 39.17 kB / 471.6 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.8213, allocations: 11.92 kB / 471.6 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8214, allocations: 0 / 471.6 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.8214, allocations: 0 / 471.6 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.8229, allocations: 0.5614 MB / 472.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.823, allocations: 7.938 kB / 472.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.8233, allocations: 35.97 kB / 472.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/0.8239, allocations: 80.78 kB / 472.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.8239, allocations: 8 kB / 472.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00447/0.8284, allocations: 1.792 MB / 474 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-05/0.8286, allocations: 7.969 kB / 474.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.8309, allocations: 0.5027 MB / 474.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.8314, allocations: 148.5 kB / 474.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-05/0.8315, allocations: 8 kB / 474.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.8318, allocations: 16.08 kB / 474.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.8321, allocations: 31.89 kB / 474.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.8321, allocations: 8 kB / 474.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007976/0.833, allocations: 211.1 kB / 475 MB, free: 12.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.833, allocations: 0 / 475 MB, free: 12.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001169/0.8342, allocations: 111.7 kB / 475.1 MB, free: 12.42 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004267/0.8346, allocations: 121.2 kB / 475.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.8364, allocations: 418.2 kB / 475.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.8364, allocations: 0 / 475.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007886/0.8372, allocations: 287.5 kB / 475.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007579/0.838, allocations: 57.5 kB / 475.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.8408, allocations: 0.8805 MB / 476.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007641/0.8416, allocations: 0.7992 MB / 477.6 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.8418, allocations: 27.44 kB / 477.7 MB, free: 9.754 MB / 362.7 MB Notification: Performance of SimCode: time 1.824e-06/0.8418, allocations: 7.938 kB / 477.7 MB, free: 9.746 MB / 362.7 MB Notification: Performance of Templates: time 0.01766/0.8595, allocations: 5.842 MB / 483.5 MB, free: 3.914 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches