Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 116.9 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001729, allocations: 186.9 kB / 21.34 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 247 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 178] 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.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 55.91 kB / 358.7 MB, free: 8.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09654/0.09814, allocations: 49.43 MB / 408.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.00835/0.1065, allocations: 6.87 MB / 415 MB, free: 40 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004438/0.111, allocations: 2.263 MB / 417.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008176/0.1119, allocations: 47.81 kB / 417.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.113, allocations: 452.9 kB / 417.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.1147, allocations: 0.668 MB / 418.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.1152, allocations: 267.6 kB / 418.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003072/0.1183, allocations: 2.832 MB / 421.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002901/0.1212, allocations: 2.566 MB / 424.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.1237, allocations: 1.319 MB / 425.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/0.1259, allocations: 1.537 MB / 426.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000556/0.1264, allocations: 356 kB / 427.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008572/0.1273, allocations: 431.8 kB / 427.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008645/0.1282, allocations: 0.8883 MB / 428.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.13, allocations: 1.525 MB / 430.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1854/0.3155, allocations: 4.627 MB / 434.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3155, allocations: 1.531 kB / 434.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3156, allocations: 1.266 kB / 434.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.726e-05/0.3157, allocations: 0.5 kB / 434.7 MB, free: 11.85 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005937/0.3216, allocations: 3.035 MB / 437.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3217, allocations: 9.281 kB / 437.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008523/0.3225, allocations: 323.7 kB / 438.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/0.3251, allocations: 1.65 MB / 439.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.3252, allocations: 167.2 kB / 439.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003244/0.3255, allocations: 215.7 kB / 440.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005284/0.3308, allocations: 3.181 MB / 443.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.305e-05/0.3309, allocations: 1.094 kB / 443.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.3311, allocations: 88.69 kB / 443.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.3313, allocations: 111.8 kB / 443.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004358/0.3356, allocations: 2.737 MB / 446.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01209/0.3477, allocations: 8.792 MB / 455 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/0.3504, allocations: 3.37 MB / 458.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.3521, allocations: 1.315 MB / 459.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/0.3524, allocations: 125.5 kB / 459.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.3524, allocations: 49.56 kB / 459.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.987e-06/0.3524, allocations: 0 / 459.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01033/0.3628, allocations: 5.794 MB / 465.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.3629, allocations: 68.44 kB / 465.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.3651, allocations: 1.486 MB / 467.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.3652, allocations: 45.45 kB / 467.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007731/0.366, allocations: 0.9621 MB / 468.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/0.3664, allocations: 471.5 kB / 468.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/0.3668, allocations: 218 kB / 468.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.367, allocations: 357 kB / 469.2 MB, free: 12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.368, allocations: 0.6899 MB / 469.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.3692, allocations: 0.8658 MB / 470.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002431/0.3716, allocations: 1.602 MB / 472.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3716, allocations: 4 kB / 472.4 MB, free: 9.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004182/0.3758, allocations: 2.313 MB / 474.7 MB, free: 7.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.3759, allocations: 8.031 kB / 474.7 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3759, allocations: 4 kB / 474.7 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002882/0.3788, allocations: 0.8211 MB / 475.6 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008793/0.3797, allocations: 213.4 kB / 475.8 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/0.3938, allocations: 11.49 MB / 487.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.3951, allocations: 56.02 kB / 487.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.3954, allocations: 36 kB / 487.3 MB, free: 10.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * 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 {(2,29,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.001877/0.3973, allocations: 0.8237 MB / 488.2 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006021/0.3979, allocations: 167 kB / 488.3 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004625/0.4025, allocations: 2.269 MB / 490.6 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.4026, allocations: 13.12 kB / 490.6 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.4026, allocations: 11.98 kB / 490.6 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.4026, allocations: 3.984 kB / 490.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009216/0.4118, allocations: 4.713 MB / 495.3 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.4119, allocations: 4 kB / 495.3 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/0.4126, allocations: 166.3 kB / 495.5 MB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/0.4154, allocations: 0.8103 MB / 496.3 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.4155, allocations: 31.98 kB / 496.4 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/0.4293, allocations: 11.39 MB / 0.4958 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.4294, allocations: 4.031 kB / 0.4958 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005958/0.4353, allocations: 3.237 MB / 0.499 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.4364, allocations: 412.1 kB / 0.4994 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004198/0.4368, allocations: 27.98 kB / 0.4994 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009791/0.4378, allocations: 79.92 kB / 0.4995 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.4382, allocations: 111.8 kB / 0.4996 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.4383, allocations: 39.98 kB / 0.4996 GB, free: 1.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001859/0.4401, allocations: 1.056 MB / 0.5007 GB, free: 108 kB / 398.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4401, allocations: 0 / 0.5007 GB, free: 108 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002185/0.4423, allocations: 0.5079 MB / 0.5012 GB, free: 15.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * 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 {(2,29,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.0006192/0.443, allocations: 213.1 kB / 0.5014 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004253/0.4472, allocations: 2.407 MB / 0.5037 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4473, allocations: 4.312 kB / 0.5037 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002673/0.45, allocations: 1.632 MB / 0.5053 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/0.4528, allocations: 0.5093 MB / 0.5058 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00937/0.4622, allocations: 4.687 MB / 0.5104 GB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002391/0.4647, allocations: 1.989 MB / 0.5123 GB, free: 4.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005481/0.4652, allocations: 99.42 kB / 0.5124 GB, free: 3.961 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4653, allocations: 4 kB / 0.5124 GB, free: 3.957 MB / 414.1 MB Notification: Performance of Templates: time 0.09787/0.5631, allocations: 75.58 MB / 0.5862 GB, free: 8.434 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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: 13.12836742005311]