Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001502/0.001502, allocations: 88.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001719/0.001719, allocations: 161.6 kB / 24.27 MB, free: 168 kB / 18.57 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.489/1.489, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.452e-05, allocations: 5.266 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005571/0.005605, allocations: 3.462 MB / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.00798, allocations: 0.9465 MB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004579/0.008438, allocations: 11.94 kB / 276.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.008793, allocations: 83.16 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005856/0.009379, allocations: 150.6 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.009931, allocations: 183.6 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009841/0.01091, allocations: 0.6379 MB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.01128, allocations: 144.5 kB / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006575/0.01194, allocations: 359.2 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.01226, allocations: 183.4 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.447e-05/0.01235, allocations: 56 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.01248, allocations: 60 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.01262, allocations: 127.5 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.01285, allocations: 179.6 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008181/0.01367, allocations: 0.6659 MB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.01367, allocations: 7.984 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01367, allocations: 0 / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.01368, allocations: 0 / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001587/0.01527, allocations: 0.8477 MB / 280.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.01532, allocations: 12.03 kB / 280.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002918/0.01561, allocations: 100.6 kB / 280.5 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.01615, allocations: 326.3 kB / 280.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/0.01619, allocations: 33.38 kB / 280.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.068e-05/0.01628, allocations: 44.38 kB / 280.9 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008625/0.01714, allocations: 491.8 kB / 281.4 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.01716, allocations: 4.188 kB / 281.4 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.01722, allocations: 19.94 kB / 281.4 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.01724, allocations: 15.98 kB / 281.4 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.01791, allocations: 319.8 kB / 281.7 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/0.0205, allocations: 1.628 MB / 283.4 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008007/0.0213, allocations: 352.6 kB / 283.7 MB, free: 6.207 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005956/0.0219, allocations: 257.2 kB / 284 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.02193, allocations: 8.328 kB / 284 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000504/0.02244, allocations: 294.9 kB / 284.3 MB, free: 5.633 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.02244, allocations: 0 / 284.3 MB, free: 5.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.002375/0.02481, allocations: 0.7877 MB / 285.1 MB, free: 4.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.02489, allocations: 81.11 kB / 285.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.02526, allocations: 308.5 kB / 285.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.0253, allocations: 33.7 kB / 285.5 MB, free: 4.391 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.02556, allocations: 225.3 kB / 285.7 MB, free: 4.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.0257, allocations: 158.7 kB / 285.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.02585, allocations: 90.14 kB / 285.9 MB, free: 3.918 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.02605, allocations: 346.8 kB / 286.3 MB, free: 3.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.02631, allocations: 117 kB / 286.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.0267, allocations: 278.1 kB / 286.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006142/0.02731, allocations: 378 kB / 287 MB, free: 2.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.02731, allocations: 4 kB / 287 MB, free: 2.695 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009523/0.02827, allocations: 0.513 MB / 287.5 MB, free: 2.172 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.02829, allocations: 8 kB / 287.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.0283, allocations: 4 kB / 287.5 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000488/0.02879, allocations: 157.1 kB / 287.7 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.02902, allocations: 67.91 kB / 287.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1075/0.1366, allocations: 2.395 MB / 290.2 MB, free: 27.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.1369, allocations: 40.47 kB / 290.2 MB, free: 27.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.1369, allocations: 14.94 kB / 290.2 MB, free: 27.32 MB / 266.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: 13 (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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002489/0.1372, allocations: 180.5 kB / 290.4 MB, free: 27.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.1373, allocations: 54.08 kB / 290.4 MB, free: 27.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.97e-05/0.1374, allocations: 48.55 kB / 290.5 MB, free: 27.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1374, allocations: 5.156 kB / 290.5 MB, free: 27.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1374, allocations: 0 / 290.5 MB, free: 27.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.1374, allocations: 2.578 kB / 290.5 MB, free: 27.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.1387, allocations: 0.8823 MB / 291.4 MB, free: 26.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1387, allocations: 0 / 291.4 MB, free: 26.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.1389, allocations: 40.45 kB / 291.4 MB, free: 26.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/0.1393, allocations: 141.2 kB / 291.6 MB, free: 26.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.1393, allocations: 8.469 kB / 291.6 MB, free: 26.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.1416, allocations: 2.394 MB / 294 MB, free: 25.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1416, allocations: 1.906 kB / 294 MB, free: 25.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.1427, allocations: 0.7211 MB / 294.7 MB, free: 24.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.1429, allocations: 73.56 kB / 294.8 MB, free: 24.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.1429, allocations: 12.59 kB / 294.8 MB, free: 24.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.1431, allocations: 13.45 kB / 294.8 MB, free: 24.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.1432, allocations: 38.3 kB / 294.8 MB, free: 24.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.1433, allocations: 15.95 kB / 294.8 MB, free: 24.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002157/0.1435, allocations: 217.7 kB / 295.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1435, allocations: 0 / 295.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006321/0.1441, allocations: 153.4 kB / 295.2 MB, free: 24.59 MB / 266.7 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * 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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001371/0.1443, allocations: 120.1 kB / 295.3 MB, free: 24.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009233/0.1452, allocations: 0.5264 MB / 295.8 MB, free: 24.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1452, allocations: 0 / 295.8 MB, free: 24.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.1457, allocations: 362.8 kB / 296.2 MB, free: 24.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.1462, allocations: 76.27 kB / 296.3 MB, free: 23.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.1477, allocations: 0.8598 MB / 297.1 MB, free: 23.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1479, allocations: 232.5 kB / 297.4 MB, free: 23.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.1481, allocations: 37.52 kB / 297.4 MB, free: 23.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.1482, allocations: 29.41 kB / 297.4 MB, free: 23.41 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1482, allocations: 0 / 297.4 MB, free: 23.41 MB / 266.7 MB Notification: Performance of Templates: time 0.01281/0.161, allocations: 6.512 MB / 303.9 MB, free: 21.55 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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: 4.5799854040378705]