Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.0007381/0.0007381, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001392/0.00213, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007912/0.0007912, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009506/0.001742, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9662/0.9662, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1209/1.087, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.134e-05, allocations: 10.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.0039/0.003921, allocations: 2.803 MB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008562/0.004777, allocations: 0.763 MB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.332e-05/0.00486, allocations: 4 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.603e-05/0.004926, allocations: 39.56 kB / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.005043, allocations: 99.14 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.005234, allocations: 115.7 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.005507, allocations: 394.4 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.005612, allocations: 58.86 kB / 248.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.005872, allocations: 263.8 kB / 249.1 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.006004, allocations: 131.7 kB / 249.2 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.006039, allocations: 32 kB / 249.2 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.118e-05/0.006101, allocations: 39.94 kB / 249.3 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.006135, allocations: 47.88 kB / 249.3 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.006208, allocations: 87.81 kB / 249.4 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.00642, allocations: 227.2 kB / 249.6 MB, free: 9.207 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.267e-05/0.006433, allocations: 3.984 kB / 249.6 MB, free: 9.203 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006434, allocations: 0 / 249.6 MB, free: 9.203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.006445, allocations: 0 / 249.6 MB, free: 9.203 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.000751/0.007196, allocations: 0.607 MB / 250.2 MB, free: 8.562 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.411e-05/0.00722, allocations: 8.031 kB / 250.2 MB, free: 8.555 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.007349, allocations: 126 kB / 250.4 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.007533, allocations: 184.8 kB / 250.5 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.007557, allocations: 16.88 kB / 250.6 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.007586, allocations: 20.38 kB / 250.6 MB, free: 8.176 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.007868, allocations: 261.6 kB / 250.8 MB, free: 7.898 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.007877, allocations: 192 / 250.8 MB, free: 7.898 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.007892, allocations: 4.375 kB / 250.8 MB, free: 7.895 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.007901, allocations: 15.92 kB / 250.8 MB, free: 7.879 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.008003, allocations: 59.47 kB / 250.9 MB, free: 7.816 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.008686, allocations: 0.6138 MB / 251.5 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.009284, allocations: 220 kB / 251.7 MB, free: 6.953 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.009416, allocations: 97.06 kB / 251.8 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.009436, allocations: 4 kB / 251.8 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.009597, allocations: 167.5 kB / 252 MB, free: 6.66 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 9.82e-07/0.009598, allocations: 4 kB / 252 MB, free: 6.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002163/0.009814, allocations: 145.5 kB / 252.1 MB, free: 6.508 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.009854, allocations: 89.05 kB / 252.2 MB, free: 6.402 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.009965, allocations: 209 kB / 252.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.009986, allocations: 29.7 kB / 252.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.01004, allocations: 144.9 kB / 252.6 MB, free: 6.008 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.01008, allocations: 71.38 kB / 252.7 MB, free: 5.938 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.01014, allocations: 53.89 kB / 252.7 MB, free: 5.879 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.01021, allocations: 346.8 kB / 253.1 MB, free: 5.531 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.01027, allocations: 54.16 kB / 253.1 MB, free: 5.473 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/0.01035, allocations: 119.7 kB / 253.2 MB, free: 5.332 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.01046, allocations: 122.8 kB / 253.4 MB, free: 5.199 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01046, allocations: 0 / 253.4 MB, free: 5.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001706/0.01064, allocations: 205.7 kB / 253.6 MB, free: 4.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.01067, allocations: 37.69 kB / 253.6 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.01067, allocations: 0 / 253.6 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.01068, allocations: 0 / 253.6 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.01123, allocations: 171.8 kB / 253.8 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.01266, allocations: 2.651 MB / 256.4 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.01279, allocations: 43.81 kB / 256.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.0128, allocations: 8.156 kB / 256.5 MB, free: 1.895 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.799e-05/0.01288, allocations: 121.8 kB / 256.6 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.01291, allocations: 31.91 kB / 256.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.01294, allocations: 34.05 kB / 256.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01294, allocations: 4 kB / 256.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01294, allocations: 0 / 256.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01295, allocations: 0 / 256.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.01339, allocations: 489.8 kB / 257.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01339, allocations: 0 / 257.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.0139, allocations: 159.8 kB / 257.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.01392, allocations: 31.78 kB / 257.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01393, allocations: 0 / 257.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.01394, allocations: 8 kB / 257.3 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.0153, allocations: 2.648 MB / 260 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0153, allocations: 4 kB / 260 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.01552, allocations: 273.2 kB / 260.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.01554, allocations: 4 kB / 260.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.01567, allocations: 31.97 kB / 260.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.01572, allocations: 31.89 kB / 260.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.01573, allocations: 7.984 kB / 260.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.829e-05/0.01578, allocations: 70.78 kB / 260.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01578, allocations: 0 / 260.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000233/0.01601, allocations: 79.92 kB / 260.5 MB, free: 13.67 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.021e-05/0.01608, allocations: 80.42 kB / 260.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005832/0.01666, allocations: 326.5 kB / 260.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.01667, allocations: 4 kB / 260.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.01713, allocations: 186.3 kB / 261 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.01732, allocations: 72.69 kB / 261.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.01934, allocations: 0.5536 MB / 261.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.344e-05/0.01938, allocations: 84.31 kB / 261.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.159e-05/0.01945, allocations: 25.95 kB / 261.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.01957, allocations: 91.34 kB / 261.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01957, allocations: 0 / 261.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of Templates: time 0.00526/0.02483, allocations: 4.19 MB / 266.1 MB, free: 8.031 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.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: 2.549025491811335]