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) 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) 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=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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.9 MB, free: 9.023 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.44 kB / 306.9 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09613/0.09748, allocations: 50.53 MB / 357.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007583/0.1051, allocations: 6.22 MB / 363.6 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.1086, allocations: 1.675 MB / 365.3 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000989/0.1096, allocations: 43.81 kB / 365.4 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008312/0.1105, allocations: 234.4 kB / 365.6 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.112, allocations: 381.9 kB / 366 MB, free: 5.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007708/0.1128, allocations: 303.7 kB / 366.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.1152, allocations: 2.266 MB / 368.5 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002692/0.118, allocations: 2.049 MB / 370.6 MB, free: 1.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.1193, allocations: 0.8875 MB / 371.5 MB, free: 136 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1601/0.2794, allocations: 1.167 MB / 372.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008478/0.2803, allocations: 190.7 kB / 372.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.2815, allocations: 304.7 kB / 373.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000933/0.2825, allocations: 0.5978 MB / 373.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002283/0.2848, allocations: 1.129 MB / 374.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003897/0.2887, allocations: 2.979 MB / 377.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2887, allocations: 2.125 kB / 377.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.2887, allocations: 0.5625 kB / 377.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001325/0.2889, allocations: 3.938 kB / 377.8 MB, free: 10.64 MB / 302.1 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.005518/0.2944, allocations: 2.477 MB / 380.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2944, allocations: 9.031 kB / 380.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007538/0.2952, allocations: 256.1 kB / 380.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.2971, allocations: 1.266 MB / 381.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.693e-05/0.2972, allocations: 156.4 kB / 382 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/0.2975, allocations: 199.5 kB / 382.2 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004116/0.3016, allocations: 2.626 MB / 384.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/0.3016, allocations: 1.188 kB / 384.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.3018, allocations: 82 kB / 384.9 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.384e-05/0.3019, allocations: 51.28 kB / 384.9 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/0.3053, allocations: 2.093 MB / 387 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.3157, allocations: 7.386 MB / 394.4 MB, free: 1.539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.3179, allocations: 2.354 MB / 396.8 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.3193, allocations: 0.9278 MB / 397.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/0.3193, allocations: 11.06 kB / 397.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.3194, allocations: 50.86 kB / 397.8 MB, free: 15.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.016e-06/0.3194, allocations: 3.938 kB / 397.8 MB, free: 15.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.007639/0.327, allocations: 4.18 MB / 401.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.3271, allocations: 66.03 kB / 402 MB, free: 12.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.3284, allocations: 0.8734 MB / 402.9 MB, free: 11.94 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.466e-05/0.3285, allocations: 41.11 kB / 402.9 MB, free: 11.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/0.3291, allocations: 0.8399 MB / 403.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.3293, allocations: 322 kB / 404.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.3296, allocations: 176.8 kB / 404.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3298, allocations: 345 kB / 404.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007946/0.3306, allocations: 495.5 kB / 405.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009322/0.3315, allocations: 0.6734 MB / 405.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.3334, allocations: 1.202 MB / 406.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.3334, allocations: 7.375 kB / 406.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002717/0.3361, allocations: 1.622 MB / 408.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.3362, allocations: 8 kB / 408.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.3362, allocations: 9.875 kB / 408.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.3373, allocations: 465.8 kB / 409 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.338, allocations: 178 kB / 409.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008456/0.3465, allocations: 8.442 MB / 417.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/0.3473, allocations: 47.95 kB / 417.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.3474, allocations: 39.94 kB / 417.7 MB, free: 13.01 MB / 334.1 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.001195/0.3486, allocations: 0.6386 MB / 418.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/0.3489, allocations: 102.8 kB / 418.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.3492, allocations: 142.1 kB / 418.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/0.3493, allocations: 8 kB / 418.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.3493, allocations: 4 kB / 418.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.3493, allocations: 3.984 kB / 418.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006426/0.3557, allocations: 3.502 MB / 422.1 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.3558, allocations: 4 kB / 422.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/0.3563, allocations: 123.5 kB / 422.3 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.3574, allocations: 457.3 kB / 422.7 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/0.3575, allocations: 23.98 kB / 422.7 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008157/0.3657, allocations: 8.362 MB / 431.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3657, allocations: 0 / 431.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/0.3693, allocations: 2.31 MB / 433.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005838/0.3699, allocations: 279.8 kB / 433.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.3701, allocations: 16 kB / 433.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.3707, allocations: 43.95 kB / 433.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.3709, allocations: 88.8 kB / 433.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.43e-05/0.371, allocations: 28 kB / 433.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009513/0.372, allocations: 0.6148 MB / 434.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.372, allocations: 0 / 434.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001687/0.3737, allocations: 380 kB / 434.8 MB, free: 11.36 MB / 350.1 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.0003033/0.374, allocations: 144.1 kB / 435 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002797/0.3768, allocations: 1.809 MB / 436.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3768, allocations: 0 / 436.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.3785, allocations: 1.228 MB / 438 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.3802, allocations: 293.4 kB / 438.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007241/0.3874, allocations: 4.48 MB / 442.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/0.3891, allocations: 1.687 MB / 444.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.3894, allocations: 75.42 kB / 444.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3894, allocations: 0 / 444.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of Templates: time 0.06023/0.4497, allocations: 58.67 MB / 0.4914 GB, free: 6.898 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches