Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00048/0.00048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006804/0.00116, 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.0003119/0.0003119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006593/0.0009712, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.07846/0.07846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04562/0.1241, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.533e-06/1.533e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.426e-05/3.579e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01972/0.01975, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.008641/0.0284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.02978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.002076/0.03186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.004302/0.03616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.03773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.00451/0.04224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.003148/0.04538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.01166/0.05705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.006205/0.06325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000649/0.0639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.003877/0.06778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.001629/0.06941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.005238/0.07464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01235/0.087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0007269/0.08773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.895e-06/0.08773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.354e-05/0.08777, 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.01199/0.09976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000253/0.1, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.1015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/0.1047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/0.105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006515/0.1056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.006756/0.1124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.619e-05/0.1125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004929/0.113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00024/0.1132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003487/0.1167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01881/0.1355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.003426/0.1389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/0.141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0002455/0.1413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.255e-05/0.1414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=249): time 1.698e-05/0.1414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=256): time 0.01329/0.1547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.1548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.1571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0003987/0.1575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0009084/0.1584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0007147/0.1591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008099/0.1599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.456e-05/0.1599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008626/0.1608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009651/0.1618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.1639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/0.164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=303) (initialization): time 0.004195/0.1681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.1682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.1682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.004446/0.1726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.1745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/0.1909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.1922, 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.001436/0.1937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005046/0.1942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/0.1985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.1986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.1986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.1986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00866/0.2072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.2073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.2085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.002631/0.2111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.2113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.2222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.2252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0005651/0.2258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006092/0.2264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005734/0.227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006408/0.2276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.2278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0007193/0.2285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.126e-05/0.2285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002127/0.2307, 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.0009716/0.2316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002709/0.2343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.476e-05/0.2344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002002/0.2364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.2385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00789/0.2463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.2474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0006031/0.2481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/0.2494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 6.149e-05/0.2495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01398/0.2635, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 899] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.566992235952057]