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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002962/0.0002962, allocations: 0 / 0, free: 0 / 0 " [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.0002323/0.0002323, allocations: 0 / 0, free: 0 / 0 " [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 0.09411/0.09411, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,startTime=0,stopTime=0.1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,startTime=0,stopTime=0.1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.326e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01254/0.01256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.006574/0.01913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0008387/0.01997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001703/0.02167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002558/0.02423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0008907/0.02512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.003919/0.02904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.003246/0.03229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00544/0.03773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.003051/0.04078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0005452/0.04132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0007446/0.04207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.001477/0.04354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001892/0.04544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.005098/0.05054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0007102/0.05125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.144e-06/0.05125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.905e-05/0.05128, allocations: 0 / 0, free: 0 / 0 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.007196/0.05847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002399/0.05871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.0601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/0.06326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/0.06357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006212/0.06419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.005221/0.06941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.504e-05/0.0695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004405/0.06994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002223/0.07016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.0728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01441/0.08721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.08971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.09127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.09145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.179e-05/0.09152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=249): time 1.73e-05/0.09154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=256): time 0.0101/0.1016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.1017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.1032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002653/0.1035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0008394/0.1043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0006398/0.105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.000685/0.1057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.596e-05/0.1057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006114/0.1063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/0.107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.1085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/0.1085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=303) (initialization): time 0.002937/0.1114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.1115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.1115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.002842/0.1143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.1154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.1271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.1282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.1284, allocations: 0 / 0, free: 0 / 0 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.001367/0.1298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004336/0.1302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003811/0.134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.701e-05/0.1341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.071e-05/0.1341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/0.1341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.1442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.1442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009518/0.1452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/0.1486, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/0.1488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/0.1678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007165/0.175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.1761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008421/0.1769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008548/0.1778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006705/0.1845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/0.1847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0009147/0.1856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 8.719e-05/0.1857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.01739/0.2031, allocations: 0 / 0, free: 0 / 0 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.001414/0.2045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.009915/0.2144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.005648/0.2201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006152/0.2262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.2412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/0.243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001038/0.244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/0.2458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0001012/0.2459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.009815/0.2557, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 899] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.3651703130453825]