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.001538/0.001538, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007354/0.0007354, allocations: 98.61 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.000287, allocations: 8 kB / 327 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2104, allocations: 47.58 MB / 374.6 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003029/0.2135, allocations: 2.909 MB / 377.5 MB, free: 43.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.215, allocations: 0.8384 MB / 378.3 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.2153, allocations: 6.344 kB / 378.3 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.2155, allocations: 48.72 kB / 378.4 MB, free: 42.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.2159, allocations: 105.4 kB / 378.5 MB, free: 42.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.2162, allocations: 92.36 kB / 378.6 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005464/0.2168, allocations: 471.2 kB / 379 MB, free: 41.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.2171, allocations: 147.1 kB / 379.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.2173, allocations: 157.5 kB / 379.3 MB, free: 41.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.2176, allocations: 171 kB / 379.5 MB, free: 41.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.2177, allocations: 20.09 kB / 379.5 MB, free: 41.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.407e-05/0.2178, allocations: 20.41 kB / 379.5 MB, free: 41.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.2179, allocations: 71.92 kB / 379.6 MB, free: 41.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.218, allocations: 103 kB / 379.7 MB, free: 41.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.2183, allocations: 382.4 kB / 380.1 MB, free: 41.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2183, allocations: 1.156 kB / 380.1 MB, free: 41.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2183, allocations: 4 kB / 380.1 MB, free: 41.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.2183, allocations: 0 / 380.1 MB, free: 41.27 MB / 298.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.001103/0.2194, allocations: 0.6473 MB / 380.7 MB, free: 40.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2195, allocations: 13.39 kB / 380.7 MB, free: 40.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.2196, allocations: 48.47 kB / 380.8 MB, free: 40.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.22, allocations: 328.7 kB / 381.1 MB, free: 40.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.22, allocations: 28.44 kB / 381.1 MB, free: 40.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.073e-05/0.2201, allocations: 39.88 kB / 381.2 MB, free: 40.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.2208, allocations: 383.1 kB / 381.6 MB, free: 40.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.2208, allocations: 1.094 kB / 381.6 MB, free: 40.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.2208, allocations: 15.41 kB / 381.6 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2209, allocations: 12.89 kB / 381.6 MB, free: 40.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.2214, allocations: 256.1 kB / 381.8 MB, free: 39.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.2232, allocations: 1.487 MB / 383.3 MB, free: 38.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.2236, allocations: 240.4 kB / 383.6 MB, free: 38.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/0.224, allocations: 170.9 kB / 383.7 MB, free: 38.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.224, allocations: 4.172 kB / 383.7 MB, free: 38.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003601/0.2244, allocations: 232.8 kB / 384 MB, free: 38.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/0.2244, allocations: 5.094 kB / 384 MB, free: 38.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001464/0.2259, allocations: 0.5983 MB / 384.6 MB, free: 37.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.2259, allocations: 115.1 kB / 384.7 MB, free: 37.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.2262, allocations: 299.1 kB / 385 MB, free: 37.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.2262, allocations: 36.67 kB / 385 MB, free: 37.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.2263, allocations: 209 kB / 385.2 MB, free: 37.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.2264, allocations: 94.52 kB / 385.3 MB, free: 37.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.2264, allocations: 7.031 kB / 385.3 MB, free: 37.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.2265, allocations: 344.8 kB / 385.6 MB, free: 36.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.2267, allocations: 95.02 kB / 385.7 MB, free: 36.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.2269, allocations: 219.5 kB / 385.9 MB, free: 36.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.2271, allocations: 122.3 kB / 386.1 MB, free: 36.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2272, allocations: 0.875 kB / 386.1 MB, free: 36.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007215/0.2279, allocations: 421.8 kB / 386.5 MB, free: 36.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2279, allocations: 6.125 kB / 386.5 MB, free: 36.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2279, allocations: 5.391 kB / 386.5 MB, free: 36.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002854/0.2282, allocations: 90.84 kB / 386.6 MB, free: 36.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.2285, allocations: 60.78 kB / 386.6 MB, free: 36.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.2298, allocations: 1.792 MB / 388.4 MB, free: 34.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.2301, allocations: 43.7 kB / 388.5 MB, free: 34.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.2301, allocations: 16 kB / 388.5 MB, free: 34.39 MB / 298.7 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 ($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 (36): * Single equations (assignments): 35 * 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.0001505/0.2303, allocations: 174.7 kB / 388.7 MB, free: 34.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.2303, allocations: 31.62 kB / 388.7 MB, free: 34.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.999e-05/0.2304, allocations: 39.28 kB / 388.7 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2304, allocations: 4 kB / 388.7 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2304, allocations: 3.938 kB / 388.7 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2304, allocations: 3.938 kB / 388.7 MB, free: 34.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.2309, allocations: 0.5693 MB / 389.3 MB, free: 33.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.2309, allocations: 4 kB / 389.3 MB, free: 33.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.2311, allocations: 35.92 kB / 389.3 MB, free: 33.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/0.2313, allocations: 76.81 kB / 389.4 MB, free: 33.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.2313, allocations: 7.984 kB / 389.4 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.2325, allocations: 1.796 MB / 391.2 MB, free: 31.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2326, allocations: 3.984 kB / 391.2 MB, free: 31.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.2333, allocations: 0.4989 MB / 391.7 MB, free: 30.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/0.2334, allocations: 128.7 kB / 391.9 MB, free: 30.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.2335, allocations: 11.98 kB / 391.9 MB, free: 30.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.2336, allocations: 12 kB / 391.9 MB, free: 30.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.2337, allocations: 31.95 kB / 391.9 MB, free: 30.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.2337, allocations: 11.95 kB / 391.9 MB, free: 30.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.2339, allocations: 211.1 kB / 392.1 MB, free: 30.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2339, allocations: 3.938 kB / 392.1 MB, free: 30.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004012/0.2343, allocations: 111.7 kB / 392.2 MB, free: 30.39 MB / 298.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.0001034/0.2344, allocations: 109.2 kB / 392.3 MB, free: 30.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006247/0.235, allocations: 435 kB / 392.8 MB, free: 29.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.235, allocations: 0 / 392.8 MB, free: 29.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.2354, allocations: 290.7 kB / 393.1 MB, free: 29.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.2357, allocations: 53.64 kB / 393.1 MB, free: 29.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2368, allocations: 0.8954 MB / 394 MB, free: 28.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.237, allocations: 0.8067 MB / 394.8 MB, free: 27.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.2371, allocations: 27.42 kB / 394.8 MB, free: 27.7 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2371, allocations: 0 / 394.8 MB, free: 27.7 MB / 298.7 MB Notification: Performance of Templates: time 0.005847/0.2429, allocations: 5.83 MB / 400.7 MB, free: 21.88 MB / 298.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/jenkins/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