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.001853/0.001853, allocations: 195.6 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 226.6 MB / 244.7 MB, free: 6.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007939/0.0007939, allocations: 104.2 kB / 296.8 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002964, allocations: 8 kB / 356.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2199, allocations: 51.29 MB / 408 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.00445/0.2244, allocations: 5.397 MB / 413.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.227, allocations: 1.592 MB / 415 MB, free: 20.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008259/0.2278, allocations: 37.03 kB / 415.1 MB, free: 20.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.2284, allocations: 222.4 kB / 415.3 MB, free: 20.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.2296, allocations: 371.8 kB / 415.6 MB, free: 20.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005966/0.2302, allocations: 219.7 kB / 415.9 MB, free: 19.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.2319, allocations: 2.124 MB / 418 MB, free: 17.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.2338, allocations: 2.026 MB / 420 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008443/0.2346, allocations: 0.7199 MB / 420.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008254/0.2355, allocations: 0.9296 MB / 421.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.2356, allocations: 120 kB / 421.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.236, allocations: 255.7 kB / 422 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.2363, allocations: 0.4945 MB / 422.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006443/0.237, allocations: 0.9698 MB / 423.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.2385, allocations: 2.899 MB / 426.4 MB, free: 9.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2386, allocations: 4 kB / 426.4 MB, free: 9.219 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2386, allocations: 0 / 426.4 MB, free: 9.219 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.903e-05/0.2386, allocations: 3.938 kB / 426.4 MB, free: 9.215 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.00277/0.2414, allocations: 2.094 MB / 428.5 MB, free: 7.059 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2414, allocations: 12.03 kB / 428.5 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005145/0.2419, allocations: 270.2 kB / 428.8 MB, free: 6.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.2433, allocations: 1.24 MB / 430 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.2434, allocations: 152.5 kB / 430.2 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.2436, allocations: 208.1 kB / 430.4 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/0.2468, allocations: 2.606 MB / 433 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.2469, allocations: 3.938 kB / 433 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.247, allocations: 88 kB / 433.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-05/0.2471, allocations: 52 kB / 433.1 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002762/0.2498, allocations: 2.077 MB / 435.2 MB, free: 216 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009736/0.2596, allocations: 7.447 MB / 442.6 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.2617, allocations: 2.348 MB / 445 MB, free: 6.008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.263, allocations: 0.9276 MB / 445.9 MB, free: 5.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.2631, allocations: 16.94 kB / 445.9 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.2631, allocations: 43.56 kB / 446 MB, free: 5.008 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.965e-06/0.2631, allocations: 4 kB / 446 MB, free: 5.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=97): time 0.007074/0.2702, allocations: 4.205 MB / 450.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.2703, allocations: 68.34 kB / 450.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009921/0.2713, allocations: 0.8524 MB / 451.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.2714, allocations: 49.62 kB / 451.1 MB, free: 15.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/0.2718, allocations: 0.8256 MB / 452 MB, free: 14.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.2721, allocations: 327.2 kB / 452.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.2721, allocations: 24 kB / 452.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.2722, allocations: 341.9 kB / 452.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007125/0.2729, allocations: 0.4937 MB / 453.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000827/0.2738, allocations: 0.6772 MB / 453.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.2754, allocations: 1.201 MB / 455 MB, free: 11.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.2754, allocations: 4 kB / 455 MB, free: 11.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002439/0.2778, allocations: 1.616 MB / 456.6 MB, free: 9.996 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.2779, allocations: 8 kB / 456.6 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2779, allocations: 8 kB / 456.7 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.2789, allocations: 466.9 kB / 457.1 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/0.2795, allocations: 175.8 kB / 457.3 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007611/0.2872, allocations: 8.461 MB / 465.7 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.2877, allocations: 56.02 kB / 465.8 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.2878, allocations: 36 kB / 465.8 MB, free: 256 kB / 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.0009742/0.2888, allocations: 0.6389 MB / 466.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.289, allocations: 102.8 kB / 466.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.2892, allocations: 134 kB / 466.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/0.2892, allocations: 12 kB / 466.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.2893, allocations: 0 / 466.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2893, allocations: 11.98 kB / 466.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005134/0.2944, allocations: 3.508 MB / 470.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.2944, allocations: 0 / 470.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.295, allocations: 131.7 kB / 470.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009382/0.2959, allocations: 459 kB / 470.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.296, allocations: 23.98 kB / 470.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007486/0.3035, allocations: 8.368 MB / 479.2 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3035, allocations: 4.031 kB / 479.2 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.3067, allocations: 2.308 MB / 481.5 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/0.3071, allocations: 283.8 kB / 481.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.3073, allocations: 16 kB / 481.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.3077, allocations: 51.95 kB / 481.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.3079, allocations: 84.81 kB / 481.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.3079, allocations: 27.98 kB / 482 MB, free: 15.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007438/0.3087, allocations: 0.5966 MB / 482.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3087, allocations: 0 / 482.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001277/0.31, allocations: 391.8 kB / 482.9 MB, free: 14.43 MB / 362.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.0002487/0.3102, allocations: 147.9 kB / 483.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002439/0.3127, allocations: 1.815 MB / 484.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3127, allocations: 4 kB / 484.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.3142, allocations: 1.235 MB / 486.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.3154, allocations: 280.2 kB / 486.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005257/0.3207, allocations: 4.369 MB / 490.8 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.3219, allocations: 1.695 MB / 492.5 MB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.3221, allocations: 67.42 kB / 492.5 MB, free: 4.656 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3221, allocations: 0 / 492.5 MB, free: 4.656 MB / 362.7 MB Notification: Performance of Templates: time 0.2065/0.5287, allocations: 58.21 MB / 0.5378 GB, free: 62.64 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