Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009236/0.0009273, allocations: 199.6 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 229.5 MB / 247.7 MB, free: 6.309 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008094/0.0008094, allocations: 97.95 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 4 kB / 360.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2317, allocations: 51.42 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.004714/0.2364, allocations: 5.41 MB / 417.5 MB, free: 20.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.2394, allocations: 2.157 MB / 419.6 MB, free: 18.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005844/0.24, allocations: 39.81 kB / 419.7 MB, free: 18.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.2404, allocations: 234.4 kB / 419.9 MB, free: 17.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008554/0.2413, allocations: 366 kB / 420.2 MB, free: 17.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.2417, allocations: 303.7 kB / 420.5 MB, free: 17.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.2431, allocations: 2.258 MB / 422.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.2448, allocations: 2.027 MB / 424.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000781/0.2456, allocations: 0.7507 MB / 425.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000806/0.2464, allocations: 0.9408 MB / 426.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.2465, allocations: 120 kB / 426.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.247, allocations: 263.7 kB / 426.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.2473, allocations: 498.2 kB / 427.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.248, allocations: 1.02 MB / 428.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.2498, allocations: 3.383 MB / 431.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2498, allocations: 0 / 431.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2498, allocations: 0 / 431.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.426e-05/0.2499, allocations: 0 / 431.8 MB, free: 5.91 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.002914/0.2528, allocations: 2.102 MB / 433.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2528, allocations: 8.031 kB / 433.9 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005408/0.2534, allocations: 270.2 kB / 434.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.2549, allocations: 1.236 MB / 435.4 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/0.255, allocations: 156.5 kB / 435.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.2552, allocations: 208.1 kB / 435.7 MB, free: 1.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003658/0.2589, allocations: 2.603 MB / 438.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.2589, allocations: 3.984 kB / 438.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.2591, allocations: 91.94 kB / 438.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/0.2592, allocations: 52 kB / 438.5 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003521/0.2627, allocations: 2.085 MB / 440.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.2734, allocations: 7.447 MB / 448 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/0.2757, allocations: 2.342 MB / 450.4 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.2771, allocations: 0.9431 MB / 451.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.2771, allocations: 16.94 kB / 451.3 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.2772, allocations: 43.55 kB / 451.4 MB, free: 1.684 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.594e-06/0.2772, allocations: 0 / 451.4 MB, free: 1.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=97): time 0.007403/0.2846, allocations: 4.205 MB / 455.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.2846, allocations: 68.34 kB / 455.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000994/0.2856, allocations: 0.8484 MB / 456.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.2857, allocations: 41.7 kB / 456.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/0.2862, allocations: 0.8372 MB / 457.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.2864, allocations: 323.2 kB / 457.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.2865, allocations: 24 kB / 457.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2866, allocations: 345.9 kB / 458 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007118/0.2874, allocations: 0.4899 MB / 458.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008071/0.2882, allocations: 0.6694 MB / 459.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.2897, allocations: 1.209 MB / 460.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2898, allocations: 4 kB / 460.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002482/0.2922, allocations: 1.612 MB / 462 MB, free: 6.691 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.2923, allocations: 15.92 kB / 462 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.2923, allocations: 4 kB / 462 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.2933, allocations: 459 kB / 462.5 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.294, allocations: 175.7 kB / 462.7 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008306/0.3023, allocations: 8.463 MB / 471.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/0.303, allocations: 52.02 kB / 471.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.3031, allocations: 36 kB / 471.2 MB, free: 12.95 MB / 346.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 (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.001152/0.3042, allocations: 0.6417 MB / 471.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.3044, allocations: 106.8 kB / 472 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.3046, allocations: 130 kB / 472.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/0.3047, allocations: 12.12 kB / 472.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/0.3047, allocations: 11.98 kB / 472.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3047, allocations: 7.984 kB / 472.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005308/0.31, allocations: 3.512 MB / 475.6 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.3101, allocations: 0 / 475.6 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.3106, allocations: 135.7 kB / 475.8 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009135/0.3116, allocations: 455.2 kB / 476.2 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.3116, allocations: 23.94 kB / 476.2 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007373/0.319, allocations: 8.361 MB / 484.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.319, allocations: 96 / 484.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/0.3223, allocations: 2.311 MB / 486.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/0.3228, allocations: 275.9 kB / 487.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.3229, allocations: 24 kB / 487.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.3233, allocations: 43.95 kB / 487.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.3236, allocations: 92.73 kB / 487.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/0.3236, allocations: 28 kB / 487.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007527/0.3244, allocations: 0.5966 MB / 488 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3244, allocations: 0 / 488 MB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00129/0.3257, allocations: 391.9 kB / 488.3 MB, free: 11.12 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 (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.0002361/0.3259, allocations: 149.8 kB / 488.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002412/0.3283, allocations: 1.815 MB / 490.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3284, allocations: 0 / 490.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.3299, allocations: 1.247 MB / 491.5 MB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.3311, allocations: 283.4 kB / 491.8 MB, free: 7.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005719/0.3368, allocations: 4.573 MB / 496.4 MB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.3381, allocations: 1.718 MB / 498.1 MB, free: 1.168 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005192/0.3386, allocations: 192.9 kB / 498.3 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.3388, allocations: 71.42 kB / 498.4 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3388, allocations: 0 / 498.4 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of Templates: time 0.1834/0.5222, allocations: 19.33 MB / 0.5056 GB, free: 89.68 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches