Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001757/0.002839, allocations: 457.8 kB / 10.45 MB, free: 240 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002068/0.003297, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9689/0.9689, allocations: 177.5 MB / 190.1 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08437/1.053, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.929e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.004977/0.004996, allocations: 6.066 MB / 251.3 MB, free: 7.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.008022, allocations: 1.779 MB / 253.1 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006378/0.00866, allocations: 59.62 kB / 253.1 MB, free: 5.621 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004644/0.009124, allocations: 309.5 kB / 253.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.01019, allocations: 464.6 kB / 253.9 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.01081, allocations: 359.4 kB / 254.2 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.0126, allocations: 2.245 MB / 256.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.01394, allocations: 1.391 MB / 257.9 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.01566, allocations: 1.687 MB / 259.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.01742, allocations: 1.177 MB / 260.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005133/0.01794, allocations: 288 kB / 261 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006075/0.01854, allocations: 407.6 kB / 261.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003809/0.01892, allocations: 0.6001 MB / 262 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006572/0.01958, allocations: 0.7175 MB / 262.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.02169, allocations: 1.904 MB / 264.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.02171, allocations: 0 / 264.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.02171, allocations: 4 kB / 264.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.675e-05/0.02174, allocations: 0 / 264.6 MB, free: 9.992 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.002632/0.02438, allocations: 2.787 MB / 267.4 MB, free: 7.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.02441, allocations: 8.625 kB / 267.4 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005195/0.02493, allocations: 421.8 kB / 267.8 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009566/0.02589, allocations: 0.7851 MB / 268.6 MB, free: 5.914 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.907e-05/0.02597, allocations: 152.5 kB / 268.8 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.02615, allocations: 204.4 kB / 269 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.02767, allocations: 1.49 MB / 270.5 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.0277, allocations: 3.938 kB / 270.5 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.0278, allocations: 88 kB / 270.5 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.212e-05/0.02788, allocations: 76.12 kB / 270.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007644/0.02864, allocations: 0.553 MB / 271.2 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1122/0.1409, allocations: 4.447 MB / 275.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007986/0.1417, allocations: 0.7253 MB / 276.3 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005522/0.1422, allocations: 407.5 kB / 276.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.502e-05/0.1423, allocations: 16.03 kB / 276.8 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1423, allocations: 41.72 kB / 276.8 MB, free: 18.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.927e-06/0.1423, allocations: 0 / 276.8 MB, free: 18.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.003186/0.1455, allocations: 1.627 MB / 278.4 MB, free: 18.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.1455, allocations: 69.59 kB / 278.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.1461, allocations: 0.6095 MB / 279.1 MB, free: 18.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.1461, allocations: 39.98 kB / 279.1 MB, free: 18.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.1464, allocations: 0.7583 MB / 279.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.1466, allocations: 341.7 kB / 280.2 MB, free: 17.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.1468, allocations: 167.9 kB / 280.4 MB, free: 17.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.017e-05/0.1468, allocations: 350.3 kB / 280.7 MB, free: 17.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.147, allocations: 113.6 kB / 280.9 MB, free: 17.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.1472, allocations: 289.4 kB / 281.1 MB, free: 17.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.1477, allocations: 0.5071 MB / 281.6 MB, free: 16.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1478, allocations: 2.156 kB / 281.6 MB, free: 16.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0008795/0.1486, allocations: 0.6327 MB / 282.3 MB, free: 16.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1487, allocations: 11.06 kB / 282.3 MB, free: 16.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.1487, allocations: 7.688 kB / 282.3 MB, free: 16.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004873/0.1492, allocations: 213.2 kB / 282.5 MB, free: 16.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.1496, allocations: 190.4 kB / 282.7 MB, free: 16.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.1529, allocations: 6.491 MB / 289.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.1532, allocations: 28.41 kB / 289.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.1532, allocations: 26.28 kB / 289.2 MB, free: 11.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003426/0.1536, allocations: 183.5 kB / 289.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.1537, allocations: 91.17 kB / 289.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.1539, allocations: 124.4 kB / 289.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.1539, allocations: 13.33 kB / 289.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.1539, allocations: 1.375 kB / 289.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.1539, allocations: 5.172 kB / 289.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.156, allocations: 1.568 MB / 291.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.156, allocations: 0 / 291.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.1564, allocations: 148 kB / 291.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.1566, allocations: 128.4 kB / 291.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003882/0.1569, allocations: 223.2 kB / 291.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.157, allocations: 18.2 kB / 291.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.1596, allocations: 6.49 MB / 298.2 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.1596, allocations: 128 / 298.2 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009068/0.1605, allocations: 0.889 MB / 299.1 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.613e-05/0.1606, allocations: 25.89 kB / 299.1 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1608, allocations: 22.16 kB / 299.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.1609, allocations: 81.42 kB / 299.2 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.1609, allocations: 16.25 kB / 299.2 MB, free: 4.945 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002294/0.1612, allocations: 305.7 kB / 299.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1612, allocations: 1.203 kB / 299.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001262/0.1624, allocations: 383.1 kB / 299.9 MB, free: 4.863 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002999/0.1627, allocations: 125.6 kB / 300 MB, free: 4.777 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.1639, allocations: 1.077 MB / 301.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.013e-05/0.1639, allocations: 20.56 kB / 301.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006281/0.1645, allocations: 0.9073 MB / 302 MB, free: 3.578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.1656, allocations: 3.104 MB / 305.1 MB, free: 208 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007891/0.1735, allocations: 3.464 MB / 308.6 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.1739, allocations: 478.4 kB / 309.1 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003995/0.1743, allocations: 116.8 kB / 309.2 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.1748, allocations: 293.1 kB / 309.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of SimCode: time 1.934e-06/0.1748, allocations: 4 kB / 309.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of Templates: time 0.03027/0.2051, allocations: 22.43 MB / 331.9 MB, free: 6.574 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.26503845769912]