Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 110.2 kB / 17.17 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.433/2.433, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 48.06 kB / 300.6 MB, free: 6.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1765, allocations: 49.45 MB / 350.1 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.01417/0.1908, allocations: 6.202 MB / 356.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007177/0.198, allocations: 1.616 MB / 357.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.1999, allocations: 39.88 kB / 357.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.2016, allocations: 238.4 kB / 358.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.2049, allocations: 377.9 kB / 358.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.2067, allocations: 303.7 kB / 358.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005352/0.2121, allocations: 2.262 MB / 361.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005537/0.2177, allocations: 2.042 MB / 363.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/0.2201, allocations: 0.8797 MB / 364 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003361/0.2235, allocations: 1.175 MB / 365.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.2247, allocations: 192 kB / 365.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.2268, allocations: 323.7 kB / 365.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00159/0.2284, allocations: 0.5997 MB / 366.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003505/0.232, allocations: 1.124 MB / 367.4 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005514/0.2375, allocations: 2.974 MB / 370.4 MB, free: 412 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.2376, allocations: 0 / 370.4 MB, free: 412 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2376, allocations: 0 / 370.4 MB, free: 412 kB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001598/0.2378, allocations: 0 / 370.4 MB, free: 412 kB / 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.3491/0.5868, allocations: 2.463 MB / 372.8 MB, free: 24.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.563e-05/0.5869, allocations: 9.844 kB / 372.8 MB, free: 24.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.5883, allocations: 234.3 kB / 373.1 MB, free: 24.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004835/0.5932, allocations: 1.238 MB / 374.3 MB, free: 23.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.5935, allocations: 157.7 kB / 374.5 MB, free: 23.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006351/0.5941, allocations: 205.5 kB / 374.7 MB, free: 23.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.6044, allocations: 2.621 MB / 377.3 MB, free: 22.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.925e-05/0.6045, allocations: 3.219 kB / 377.3 MB, free: 22.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/0.6048, allocations: 84.75 kB / 377.4 MB, free: 22.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/0.605, allocations: 53.03 kB / 377.4 MB, free: 22.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008284/0.6133, allocations: 2.093 MB / 379.5 MB, free: 21.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02407/0.6375, allocations: 7.391 MB / 386.9 MB, free: 16.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003967/0.6415, allocations: 2.351 MB / 389.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002578/0.6441, allocations: 0.929 MB / 390.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.413e-05/0.6442, allocations: 9.5 kB / 390.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.6443, allocations: 40.03 kB / 390.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 6.964e-06/0.6443, allocations: 0 / 390.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.01409/0.6584, allocations: 4.186 MB / 394.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.6585, allocations: 62.03 kB / 394.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.6602, allocations: 0.8629 MB / 395.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.21e-05/0.6603, allocations: 41.64 kB / 395.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006437/0.661, allocations: 0.8277 MB / 396.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/0.6614, allocations: 326.8 kB / 396.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004521/0.6618, allocations: 178.5 kB / 396.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.662, allocations: 349.9 kB / 397 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.6631, allocations: 497.7 kB / 397.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.6644, allocations: 0.6655 MB / 398.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.6669, allocations: 1.205 MB / 399.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.6669, allocations: 7 kB / 399.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003991/0.6709, allocations: 1.624 MB / 401 MB, free: 5.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.6709, allocations: 11.94 kB / 401 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.671, allocations: 4 kB / 401 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.6728, allocations: 471 kB / 401.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.6739, allocations: 171.7 kB / 401.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/0.6879, allocations: 8.45 MB / 410.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.6896, allocations: 47.95 kB / 410.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.6898, allocations: 36 kB / 410.2 MB, free: 11.91 MB / 318.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.002181/0.692, allocations: 0.6378 MB / 410.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000691/0.6927, allocations: 110.9 kB / 411 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004935/0.6933, allocations: 133.9 kB / 411.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.598e-05/0.6933, allocations: 12 kB / 411.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.679e-05/0.6934, allocations: 7.984 kB / 411.1 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.6934, allocations: 3.984 kB / 411.1 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.7057, allocations: 3.495 MB / 414.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.7058, allocations: 7.938 kB / 414.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.707, allocations: 127.9 kB / 414.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002249/0.7092, allocations: 443 kB / 415.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.7094, allocations: 35.92 kB / 415.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0162/0.7256, allocations: 8.357 MB / 423.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.7257, allocations: 0 / 423.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007495/0.7332, allocations: 2.308 MB / 425.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.7343, allocations: 271.9 kB / 426.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000453/0.7348, allocations: 23.98 kB / 426.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.736, allocations: 47.95 kB / 426.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004264/0.7365, allocations: 84.81 kB / 426.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.7366, allocations: 23.98 kB / 426.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0019/0.7385, allocations: 0.6083 MB / 426.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7386, allocations: 0 / 426.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003296/0.7419, allocations: 380 kB / 427.3 MB, free: 10.15 MB / 334.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.0005779/0.7425, allocations: 161.4 kB / 427.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005815/0.7483, allocations: 1.799 MB / 429.2 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.7483, allocations: 0 / 429.2 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003384/0.7517, allocations: 1.228 MB / 430.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/0.7547, allocations: 285 kB / 430.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.7691, allocations: 4.49 MB / 435.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00276/0.7719, allocations: 1.679 MB / 436.9 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/0.7725, allocations: 71.42 kB / 437 MB, free: 296 kB / 334.1 MB Notification: Performance of SimCode: time 4.599e-06/0.7725, allocations: 0 / 437 MB, free: 296 kB / 334.1 MB Notification: Performance of Templates: time 0.1276/0.9001, allocations: 58.46 MB / 495.5 MB, free: 5.863 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches