Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 51.92 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2297, allocations: 53.35 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008335/0.238, allocations: 6.309 MB / 438.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.2416, allocations: 1.709 MB / 440.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005895/0.2422, allocations: 55.69 kB / 440.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006484/0.2428, allocations: 313.5 kB / 440.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.2441, allocations: 441.2 kB / 441.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006909/0.2448, allocations: 363.4 kB / 441.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002391/0.2471, allocations: 2.141 MB / 443.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.249, allocations: 1.399 MB / 445.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.2504, allocations: 1.059 MB / 446.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.2523, allocations: 1.237 MB / 447.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003912/0.2527, allocations: 292 kB / 447.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008031/0.2535, allocations: 475.6 kB / 448.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006488/0.2542, allocations: 0.7013 MB / 448.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.2555, allocations: 1.241 MB / 450.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003785/0.2593, allocations: 3.634 MB / 453.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2593, allocations: 0 / 453.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2593, allocations: 0 / 453.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.643e-05/0.2593, allocations: 0 / 453.7 MB, free: 1.477 MB / 350.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.004495/0.2638, allocations: 2.464 MB / 456.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2639, allocations: 16.02 kB / 456.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006767/0.2645, allocations: 263.5 kB / 456.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.267, allocations: 1.25 MB / 457.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.2671, allocations: 160.5 kB / 457.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.2674, allocations: 212.1 kB / 458.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004354/0.2718, allocations: 2.61 MB / 460.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.2718, allocations: 0 / 460.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.272, allocations: 88 kB / 460.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/0.272, allocations: 52 kB / 460.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003587/0.2756, allocations: 2.089 MB / 462.9 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.287, allocations: 7.204 MB / 470.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.2889, allocations: 1.307 MB / 471.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.2904, allocations: 0.8933 MB / 472.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.499e-05/0.2904, allocations: 12.94 kB / 472.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.2905, allocations: 47.55 kB / 472.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 2.805e-06/0.2905, allocations: 0 / 472.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.007606/0.2981, allocations: 3.891 MB / 476.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.2981, allocations: 68.28 kB / 476.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.2993, allocations: 0.868 MB / 477.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/0.2994, allocations: 45.7 kB / 477.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006319/0.3, allocations: 0.8475 MB / 478.1 MB, free: 8.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.3003, allocations: 349.1 kB / 478.4 MB, free: 8.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.3006, allocations: 178.6 kB / 478.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3008, allocations: 345.9 kB / 478.9 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007896/0.3016, allocations: 493.7 kB / 479.4 MB, free: 7.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009565/0.3025, allocations: 0.6694 MB / 480.1 MB, free: 6.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.3043, allocations: 1.205 MB / 481.3 MB, free: 5.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3043, allocations: 0 / 481.3 MB, free: 5.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002722/0.307, allocations: 1.617 MB / 482.9 MB, free: 3.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.307, allocations: 8 kB / 482.9 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3071, allocations: 4 kB / 482.9 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.3081, allocations: 470.9 kB / 483.4 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.3088, allocations: 175.7 kB / 483.5 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009525/0.3183, allocations: 8.879 MB / 492.4 MB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006565/0.319, allocations: 55.89 kB / 492.5 MB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/0.3191, allocations: 36.06 kB / 492.5 MB, free: 9.578 MB / 398.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.001047/0.3201, allocations: 0.6434 MB / 493.2 MB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.3203, allocations: 115.3 kB / 493.3 MB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.3206, allocations: 138.1 kB / 493.4 MB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/0.3207, allocations: 12 kB / 493.4 MB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3207, allocations: 0 / 493.4 MB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.3207, allocations: 15.92 kB / 493.4 MB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005884/0.3266, allocations: 3.442 MB / 496.9 MB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.3266, allocations: 7.984 kB / 496.9 MB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.3271, allocations: 123.9 kB / 497 MB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009715/0.3281, allocations: 450.9 kB / 497.4 MB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.625e-05/0.3281, allocations: 27.98 kB / 497.5 MB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009368/0.3375, allocations: 8.79 MB / 0.4944 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3375, allocations: 8.047 kB / 0.4944 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003757/0.3413, allocations: 2.297 MB / 0.4967 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006054/0.3419, allocations: 207.3 kB / 0.4968 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.342, allocations: 20 kB / 0.4969 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.3424, allocations: 39.95 kB / 0.4969 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.3426, allocations: 100.8 kB / 0.497 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.3427, allocations: 27.97 kB / 0.497 GB, free: 8.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008367/0.3435, allocations: 0.6199 MB / 0.4976 GB, free: 7.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3435, allocations: 0 / 0.4976 GB, free: 7.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001427/0.345, allocations: 379.9 kB / 0.498 GB, free: 7.559 MB / 414.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.0002717/0.3452, allocations: 139.2 kB / 0.4981 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002826/0.3481, allocations: 1.776 MB / 0.4999 GB, free: 5.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3481, allocations: 0 / 0.4999 GB, free: 5.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.3498, allocations: 1.212 MB / 0.501 GB, free: 4.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.351, allocations: 295 kB / 0.5013 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006148/0.3572, allocations: 3.681 MB / 0.5049 GB, free: 316 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.3586, allocations: 1.691 MB / 0.5066 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.3589, allocations: 67.44 kB / 0.5066 GB, free: 14.52 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3589, allocations: 0 / 0.5066 GB, free: 14.52 MB / 430.1 MB Notification: Performance of Templates: time 0.2371/0.596, allocations: 58.88 MB / 0.5641 GB, free: 83.35 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.698757978156209]