Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 51.92 kB / 379.1 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.221, allocations: 53.35 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004929/0.2259, allocations: 3.53 MB / 435.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.2275, allocations: 0.941 MB / 436.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.2277, allocations: 11.94 kB / 436.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.2279, allocations: 67.3 kB / 437 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.2282, allocations: 130.8 kB / 437.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.2286, allocations: 159.7 kB / 437.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000588/0.2292, allocations: 0.5214 MB / 437.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.2294, allocations: 122.3 kB / 437.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.2297, allocations: 211.2 kB / 438.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.23, allocations: 226.9 kB / 438.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/0.2301, allocations: 48 kB / 438.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.425e-05/0.2302, allocations: 48 kB / 438.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2303, allocations: 103.6 kB / 438.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.2305, allocations: 238.8 kB / 438.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.231, allocations: 0.5404 MB / 439.3 MB, free: 24 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2311, allocations: 0 / 439.3 MB, free: 24 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2311, allocations: 0 / 439.3 MB, free: 24 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2311, allocations: 0 / 439.3 MB, free: 24 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001315/0.2324, allocations: 0.7855 MB / 440.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.2324, allocations: 8.031 kB / 440.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/0.2327, allocations: 76.58 kB / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.2331, allocations: 295.3 kB / 440.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.2332, allocations: 29.38 kB / 440.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.2332, allocations: 36.38 kB / 440.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006607/0.2339, allocations: 404 kB / 440.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2339, allocations: 3.938 kB / 440.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.2339, allocations: 19.94 kB / 440.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.2339, allocations: 8 kB / 440.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/0.2345, allocations: 263.8 kB / 441.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.2365, allocations: 1.45 MB / 442.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.237, allocations: 222.5 kB / 442.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.2373, allocations: 168.4 kB / 443 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.2374, allocations: 4.234 kB / 443 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.2378, allocations: 218 kB / 443.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.2378, allocations: 4 kB / 443.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001442/0.2392, allocations: 0.5065 MB / 443.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.2393, allocations: 110.8 kB / 443.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.2396, allocations: 308.5 kB / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.2397, allocations: 37.7 kB / 444.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.2398, allocations: 220.7 kB / 444.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.993e-05/0.2399, allocations: 107.1 kB / 444.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.24, allocations: 66.08 kB / 444.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2402, allocations: 350.7 kB / 444.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.2404, allocations: 88.7 kB / 445 MB, free: 10.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.2407, allocations: 225.5 kB / 445.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.2412, allocations: 328.3 kB / 445.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2412, allocations: 4 kB / 445.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007211/0.2419, allocations: 417.8 kB / 446 MB, free: 8.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2419, allocations: 8 kB / 446 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.2419, allocations: 8 kB / 446 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/0.2422, allocations: 80.75 kB / 446 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.2424, allocations: 60.22 kB / 446.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.2445, allocations: 1.895 MB / 448 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.2447, allocations: 43.77 kB / 448 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.2447, allocations: 12 kB / 448.1 MB, free: 6.738 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: 11 (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_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 (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.000198/0.2449, allocations: 166.3 kB / 448.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.245, allocations: 51.69 kB / 448.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.783e-05/0.2451, allocations: 39.95 kB / 448.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2451, allocations: 4 kB / 448.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.2451, allocations: 0 / 448.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2451, allocations: 0 / 448.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006765/0.2457, allocations: 0.5527 MB / 448.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2458, allocations: 4 kB / 448.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.2459, allocations: 23.98 kB / 448.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/0.2461, allocations: 92.77 kB / 449 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.2462, allocations: 4 kB / 449 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.2481, allocations: 1.891 MB / 450.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2481, allocations: 4.312 kB / 450.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009447/0.249, allocations: 0.4997 MB / 451.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.2491, allocations: 67.64 kB / 451.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.2492, allocations: 7.938 kB / 451.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.2494, allocations: 19.98 kB / 451.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.2494, allocations: 23.95 kB / 451.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.2494, allocations: 12 kB / 451.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.2497, allocations: 219.1 kB / 451.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2497, allocations: 0 / 451.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004658/0.2501, allocations: 115.8 kB / 451.8 MB, free: 2.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * 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.0001402/0.2503, allocations: 111.2 kB / 451.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007655/0.2511, allocations: 402.3 kB / 452.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2511, allocations: 0 / 452.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004197/0.2515, allocations: 275.5 kB / 452.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.2518, allocations: 53 kB / 452.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.2531, allocations: 0.7768 MB / 453.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.2536, allocations: 0.8113 MB / 454.2 MB, free: 248 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.2536, allocations: 31.44 kB / 454.3 MB, free: 216 kB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2536, allocations: 0 / 454.3 MB, free: 216 kB / 350.1 MB Notification: Performance of Templates: time 0.008888/0.2625, allocations: 6.165 MB / 460.4 MB, free: 10.07 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.210907441796735]