Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.001648/0.001648, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002027/0.002027, allocations: 209 kB / 24.48 MB, free: 3.938 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.449/1.449, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 51.92 kB / 379 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2516, allocations: 53.36 MB / 432.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0125/0.2641, allocations: 9.391 MB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007007/0.2711, allocations: 3.143 MB / 444.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.2729, allocations: 111.2 kB / 445 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.2749, allocations: 0.7294 MB / 445.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003509/0.2785, allocations: 1.177 MB / 446.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.2797, allocations: 487.4 kB / 447.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006613/0.2863, allocations: 5.143 MB / 452.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003715/0.29, allocations: 2.421 MB / 455 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004937/0.2949, allocations: 2.449 MB / 457.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004904/0.2998, allocations: 2.783 MB / 460.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001416/0.3013, allocations: 0.625 MB / 460.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.3033, allocations: 0.7029 MB / 461.5 MB, free: 9.367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002001/0.3053, allocations: 1.652 MB / 463.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004464/0.3098, allocations: 2.249 MB / 465.4 MB, free: 5.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.3209, allocations: 8.491 MB / 473.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.3209, allocations: 0 / 473.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.649e-06/0.3209, allocations: 3.984 kB / 473.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002711/0.3212, allocations: 0 / 473.9 MB, free: 12.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01364/0.3348, allocations: 5.151 MB / 479.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3349, allocations: 8.031 kB / 479.1 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.3372, allocations: 0.6071 MB / 479.7 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007002/0.3442, allocations: 2.838 MB / 482.5 MB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003147/0.3445, allocations: 299.8 kB / 482.8 MB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/0.3458, allocations: 380 kB / 483.2 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.3595, allocations: 6.135 MB / 489.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.3597, allocations: 4 kB / 489.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00101/0.3607, allocations: 156 kB / 489.5 MB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000271/0.3609, allocations: 208 kB / 489.7 MB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.3723, allocations: 5.016 MB / 494.7 MB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0331/0.4054, allocations: 14.13 MB / 0.4969 GB, free: 9.438 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006887/0.4122, allocations: 3.874 MB / 0.5007 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004338/0.4166, allocations: 2.45 MB / 0.5031 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/0.4169, allocations: 61.91 kB / 0.5031 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.826e-05/0.417, allocations: 64.56 kB / 0.5032 GB, free: 3.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 5.511e-06/0.417, allocations: 4 kB / 0.5032 GB, free: 3.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02241/0.4394, allocations: 10.01 MB / 0.513 GB, free: 9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.4395, allocations: 81.42 kB / 0.513 GB, free: 8.906 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/0.4436, allocations: 2.2 MB / 0.5152 GB, free: 6.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003518/0.444, allocations: 69.7 kB / 0.5153 GB, free: 6.594 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.4455, allocations: 1.7 MB / 0.5169 GB, free: 4.879 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001127/0.4466, allocations: 0.8831 MB / 0.5178 GB, free: 3.988 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009589/0.4475, allocations: 412.7 kB / 0.5182 GB, free: 3.578 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4477, allocations: 305.1 kB / 0.5185 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/0.4501, allocations: 1.34 MB / 0.5198 GB, free: 1.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002677/0.4528, allocations: 1.658 MB / 0.5214 GB, free: 180 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005128/0.4579, allocations: 3.079 MB / 0.5244 GB, free: 12.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.4579, allocations: 4 kB / 0.5244 GB, free: 12.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008477/0.4664, allocations: 4.396 MB / 0.5287 GB, free: 8.492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.4664, allocations: 8 kB / 0.5287 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.4664, allocations: 4 kB / 0.5287 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005525/0.472, allocations: 1.635 MB / 0.5303 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.4737, allocations: 391.5 kB / 0.5307 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2239/0.6976, allocations: 24.27 MB / 0.5544 GB, free: 85.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.6995, allocations: 91.62 kB / 0.5545 GB, free: 85.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/0.6997, allocations: 75.94 kB / 0.5545 GB, free: 85.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001924/0.7016, allocations: 1.412 MB / 0.5559 GB, free: 85.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005642/0.7022, allocations: 273.6 kB / 0.5562 GB, free: 85.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006157/0.7083, allocations: 4.316 MB / 0.5604 GB, free: 83.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.7083, allocations: 24.09 kB / 0.5604 GB, free: 83.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.7084, allocations: 7.625 kB / 0.5604 GB, free: 83.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/0.7084, allocations: 10.73 kB / 0.5604 GB, free: 83.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.7209, allocations: 7.78 MB / 0.568 GB, free: 76.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.7209, allocations: 0 / 0.568 GB, free: 76.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.7221, allocations: 287.6 kB / 0.5683 GB, free: 76.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004477/0.7265, allocations: 1.616 MB / 0.5699 GB, free: 74.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003136/0.7268, allocations: 59.97 kB / 0.5699 GB, free: 74.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01821/0.7451, allocations: 24.01 MB / 0.5934 GB, free: 49.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7451, allocations: 3.938 kB / 0.5934 GB, free: 49.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00789/0.7529, allocations: 6.045 MB / 0.5993 GB, free: 43.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/0.7547, allocations: 0.5743 MB / 0.5999 GB, free: 42.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005409/0.7552, allocations: 60.45 kB / 0.5999 GB, free: 42.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.7566, allocations: 115.9 kB / 0.6 GB, free: 42.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004683/0.757, allocations: 229.5 kB / 0.6002 GB, free: 42.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.7572, allocations: 60 kB / 0.6003 GB, free: 42.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001904/0.7591, allocations: 1.539 MB / 0.6018 GB, free: 40.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7591, allocations: 3.938 kB / 0.6018 GB, free: 40.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003489/0.7626, allocations: 0.9492 MB / 0.6027 GB, free: 39.94 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006402/0.7632, allocations: 251.4 kB / 0.603 GB, free: 39.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006028/0.7692, allocations: 4.757 MB / 0.6076 GB, free: 34.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.7692, allocations: 0 / 0.6076 GB, free: 34.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003918/0.7732, allocations: 3.276 MB / 0.6108 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/0.7763, allocations: 0.7354 MB / 0.6115 GB, free: 30.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.7886, allocations: 8.521 MB / 0.6199 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002319/0.7909, allocations: 2.573 MB / 0.6224 GB, free: 19.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007032/0.7916, allocations: 155.4 kB / 0.6225 GB, free: 19.38 MB / 446.1 MB Notification: Performance of SimCode: time 1.383e-06/0.7916, allocations: 0 / 0.6225 GB, free: 19.38 MB / 446.1 MB Notification: Performance of Templates: time 0.4163/1.208, allocations: 259.9 MB / 0.8764 GB, free: 49.75 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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: 17.93408931232989]