Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009529/0.0009529, allocations: 197.1 kB / 17.05 MB, free: 4.945 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 226.6 MB / 244.3 MB, free: 8.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000851/0.000851, allocations: 102.8 kB / 296.4 MB, free: 7.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002107/0.0002108, allocations: 8 kB / 356.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1976, allocations: 51.3 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.00431/0.202, allocations: 5.397 MB / 412.9 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.2047, allocations: 1.583 MB / 414.5 MB, free: 20.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008/0.2055, allocations: 39.88 kB / 414.5 MB, free: 20.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.206, allocations: 223.3 kB / 414.7 MB, free: 20.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.2071, allocations: 373.1 kB / 415.1 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.2077, allocations: 218.8 kB / 415.3 MB, free: 20 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.2092, allocations: 2.11 MB / 417.4 MB, free: 17.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.2108, allocations: 1.635 MB / 419.1 MB, free: 16.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008034/0.2116, allocations: 0.7238 MB / 419.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.2127, allocations: 0.9258 MB / 420.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.2129, allocations: 120 kB / 420.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005609/0.2135, allocations: 231.8 kB / 421 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.2138, allocations: 498.4 kB / 421.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004244/0.2143, allocations: 432.6 kB / 422 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.2161, allocations: 2.888 MB / 424.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2161, allocations: 4 kB / 424.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2161, allocations: 0 / 424.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001317/0.2162, allocations: 0 / 424.8 MB, free: 10.4 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.003563/0.2198, allocations: 2.125 MB / 427 MB, free: 8.211 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2198, allocations: 12.03 kB / 427 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007115/0.2206, allocations: 261.2 kB / 427.2 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.2221, allocations: 1.224 MB / 428.5 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.94e-05/0.2222, allocations: 152.2 kB / 428.6 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.2224, allocations: 200 kB / 428.8 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/0.2258, allocations: 2.606 MB / 431.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.2259, allocations: 0 / 431.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.226, allocations: 87.98 kB / 431.5 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-05/0.2261, allocations: 52 kB / 431.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.2287, allocations: 2.081 MB / 433.6 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009291/0.238, allocations: 7.439 MB / 441.1 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.2401, allocations: 2.348 MB / 443.4 MB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.2414, allocations: 0.9431 MB / 444.4 MB, free: 6.254 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.914e-05/0.2414, allocations: 9 kB / 444.4 MB, free: 6.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.2415, allocations: 47.56 kB / 444.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 6.032e-06/0.2415, allocations: 0 / 444.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=97): time 0.006951/0.2485, allocations: 4.205 MB / 448.6 MB, free: 1.859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.2485, allocations: 64.34 kB / 448.7 MB, free: 1.781 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009242/0.2494, allocations: 0.8524 MB / 449.5 MB, free: 0.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.2495, allocations: 41.7 kB / 449.6 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.25, allocations: 0.8293 MB / 450.4 MB, free: 28 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.2502, allocations: 327.3 kB / 450.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.2503, allocations: 16 kB / 450.7 MB, free: 15.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.2504, allocations: 345.9 kB / 451.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006856/0.2511, allocations: 0.4937 MB / 451.6 MB, free: 14.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007926/0.2519, allocations: 0.6739 MB / 452.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007853/0.2527, allocations: 0.569 MB / 452.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2527, allocations: 0 / 452.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002327/0.255, allocations: 1.632 MB / 454.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.255, allocations: 4 kB / 454.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2551, allocations: 12 kB / 454.5 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009643/0.256, allocations: 459 kB / 454.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/0.2567, allocations: 179.7 kB / 455.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007861/0.2645, allocations: 8.451 MB / 463.5 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.2651, allocations: 47.95 kB / 463.6 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.2651, allocations: 36 kB / 463.6 MB, free: 2.16 MB / 330.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 (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 initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009893/0.2661, allocations: 0.6434 MB / 464.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.2663, allocations: 98.78 kB / 464.4 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.2666, allocations: 142 kB / 464.5 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.2666, allocations: 8 kB / 464.5 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.2666, allocations: 4 kB / 464.5 MB, free: 1.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.2666, allocations: 3.984 kB / 464.5 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005575/0.2722, allocations: 3.516 MB / 468 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2722, allocations: 3.938 kB / 468 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/0.2728, allocations: 131.9 kB / 468.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009579/0.2737, allocations: 447.2 kB / 468.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.356e-05/0.2738, allocations: 31.92 kB / 468.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007658/0.2815, allocations: 8.358 MB / 477 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2815, allocations: 4.062 kB / 477 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/0.2847, allocations: 2.307 MB / 479.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.2851, allocations: 283.8 kB / 479.6 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.2852, allocations: 23.98 kB / 479.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/0.2857, allocations: 43.95 kB / 479.6 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.2859, allocations: 92.8 kB / 479.7 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.057e-05/0.2859, allocations: 23.98 kB / 479.8 MB, free: 1.312 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000705/0.2866, allocations: 0.6005 MB / 480.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2866, allocations: 4 kB / 480.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00123/0.2879, allocations: 380 kB / 480.7 MB, free: 352 kB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002347/0.2881, allocations: 147 kB / 480.9 MB, free: 196 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002429/0.2906, allocations: 1.815 MB / 482.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2906, allocations: 1.312 kB / 482.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.2921, allocations: 1.238 MB / 483.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.2932, allocations: 285.8 kB / 484.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005723/0.299, allocations: 4.374 MB / 488.6 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.3002, allocations: 1.687 MB / 490.3 MB, free: 6.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.3004, allocations: 67.42 kB / 490.3 MB, free: 6.559 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.3004, allocations: 0 / 490.3 MB, free: 6.559 MB / 362.7 MB Notification: Performance of Templates: time 0.2458/0.5463, allocations: 58.28 MB / 0.5358 GB, free: 64.79 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches