Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.002506/0.002506, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002936/0.002936, allocations: 169.3 kB / 24.28 MB, free: 152 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.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_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.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.36e-05, allocations: 10.25 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.01336/0.01339, allocations: 6.029 MB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005617/0.01901, allocations: 1.69 MB / 280 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008503/0.01986, allocations: 59.62 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009746/0.02084, allocations: 309.5 kB / 280.4 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.02279, allocations: 456.6 kB / 280.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.02402, allocations: 351.5 kB / 281.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003879/0.02789, allocations: 2.21 MB / 283.4 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.031, allocations: 1.36 MB / 284.8 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003296/0.0343, allocations: 1.591 MB / 286.3 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003003/0.0373, allocations: 1.169 MB / 287.5 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000767/0.03807, allocations: 292 kB / 287.8 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.0393, allocations: 403.7 kB / 288.2 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.04062, allocations: 0.7401 MB / 288.9 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.04253, allocations: 0.8654 MB / 289.8 MB, free: 232 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1587/0.2012, allocations: 3.701 MB / 293.5 MB, free: 18.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2012, allocations: 1.031 kB / 293.5 MB, free: 18.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2012, allocations: 0.7969 kB / 293.5 MB, free: 18.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000168/0.2014, allocations: 0 / 293.5 MB, free: 18.43 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.007645/0.209, allocations: 2.804 MB / 296.3 MB, free: 17.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2091, allocations: 9.5 kB / 296.3 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.2102, allocations: 432.4 kB / 296.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.2124, allocations: 1.189 MB / 297.9 MB, free: 16.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.2125, allocations: 156.7 kB / 298.1 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/0.2128, allocations: 204.5 kB / 298.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004252/0.2171, allocations: 2.688 MB / 301 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.547e-05/0.2171, allocations: 1.875 kB / 301 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.2173, allocations: 89.53 kB / 301.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.76e-05/0.2174, allocations: 54.42 kB / 301.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003031/0.2204, allocations: 1.871 MB / 303 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.2314, allocations: 7.837 MB / 310.8 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.2328, allocations: 1.195 MB / 312 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.2339, allocations: 0.7873 MB / 312.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-05/0.234, allocations: 20.88 kB / 312.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.234, allocations: 45.97 kB / 312.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.915e-06/0.234, allocations: 4 kB / 312.9 MB, free: 8.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.006353/0.2404, allocations: 3.522 MB / 316.4 MB, free: 5.012 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.2404, allocations: 64.41 kB / 316.5 MB, free: 4.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009966/0.2414, allocations: 1.019 MB / 317.5 MB, free: 3.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.2414, allocations: 41.7 kB / 317.5 MB, free: 3.852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.2418, allocations: 0.9556 MB / 318.5 MB, free: 2.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.242, allocations: 366.8 kB / 318.8 MB, free: 2.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.2423, allocations: 224.2 kB / 319 MB, free: 2.301 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2424, allocations: 0.5511 MB / 319.6 MB, free: 1.742 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/0.2429, allocations: 405.7 kB / 320 MB, free: 1.348 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.2435, allocations: 0.6867 MB / 320.7 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.2451, allocations: 1.141 MB / 321.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2451, allocations: 0 / 321.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002881/0.248, allocations: 1.492 MB / 323.3 MB, free: 13.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.248, allocations: 4 kB / 323.3 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.248, allocations: 8 kB / 323.3 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.2492, allocations: 452.2 kB / 323.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006807/0.2499, allocations: 174.2 kB / 323.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/0.262, allocations: 10.89 MB / 334.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.2631, allocations: 52.02 kB / 334.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.2632, allocations: 36 kB / 334.9 MB, free: 1.875 MB / 282.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.001459/0.2646, allocations: 0.6083 MB / 335.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.265, allocations: 135.3 kB / 335.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.2653, allocations: 125.8 kB / 335.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/0.2654, allocations: 15.94 kB / 335.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.2654, allocations: 0 / 335.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.2654, allocations: 7.984 kB / 335.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006946/0.2724, allocations: 3.32 MB / 339.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2724, allocations: 0 / 339.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.2729, allocations: 123.4 kB / 339.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.2741, allocations: 423 kB / 339.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/0.2741, allocations: 20 kB / 339.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/0.2854, allocations: 10.57 MB / 350.2 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.2854, allocations: 3.938 kB / 350.2 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/0.2895, allocations: 1.973 MB / 352.2 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007717/0.2903, allocations: 187.4 kB / 352.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.2904, allocations: 20 kB / 352.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.2909, allocations: 39.95 kB / 352.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.2912, allocations: 96.81 kB / 352.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/0.2912, allocations: 28 kB / 352.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009944/0.2922, allocations: 0.6348 MB / 353.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2922, allocations: 0 / 353.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001785/0.294, allocations: 387 kB / 353.6 MB, free: 14.7 MB / 314.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.0003357/0.2943, allocations: 134.4 kB / 353.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.2975, allocations: 1.897 MB / 355.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2975, allocations: 0 / 355.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.2995, allocations: 1.368 MB / 357 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.3009, allocations: 297.3 kB / 357.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006397/0.3073, allocations: 3.371 MB / 360.7 MB, free: 7.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.3087, allocations: 1.052 MB / 361.7 MB, free: 6.406 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005238/0.3092, allocations: 148.7 kB / 361.9 MB, free: 6.258 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.3094, allocations: 68.5 kB / 361.9 MB, free: 6.191 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3094, allocations: 0 / 361.9 MB, free: 6.191 MB / 314.7 MB Notification: Performance of Templates: time 0.0399/0.3493, allocations: 19.99 MB / 381.9 MB, free: 2.551 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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: 5.581460682908073]