Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001613/0.001613, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 177.1 MB / 204.7 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00308/0.00308, allocations: 66.09 kB / 325.5 MB, free: 156 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1324, allocations: 53.38 MB / 378.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004238/0.1367, allocations: 2.597 MB / 381.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1382, allocations: 0.7167 MB / 382.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.1384, allocations: 4 kB / 382.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.1385, allocations: 39.58 kB / 382.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1387, allocations: 91.2 kB / 382.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.1391, allocations: 115.8 kB / 382.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.1396, allocations: 390.5 kB / 382.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1398, allocations: 56.83 kB / 382.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.1401, allocations: 163.5 kB / 383.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.1403, allocations: 155.3 kB / 383.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.601e-05/0.1404, allocations: 36 kB / 383.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.128e-05/0.1405, allocations: 44 kB / 383.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.173e-05/0.1406, allocations: 67.81 kB / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.1407, allocations: 127.4 kB / 383.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.1412, allocations: 370.6 kB / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1412, allocations: 0 / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1412, allocations: 3.938 kB / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.443e-06/0.1412, allocations: 0 / 383.9 MB, free: 10.45 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0016/0.1428, allocations: 0.6242 MB / 384.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1429, allocations: 12.03 kB / 384.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.143, allocations: 44.73 kB / 384.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.1434, allocations: 217.5 kB / 384.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.1435, allocations: 12.88 kB / 384.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.1435, allocations: 24.36 kB / 384.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008094/0.1443, allocations: 344.7 kB / 385.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1443, allocations: 0 / 385.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.1444, allocations: 12 kB / 385.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1444, allocations: 4 kB / 385.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009675/0.1453, allocations: 301.7 kB / 385.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.147, allocations: 0.8209 MB / 386.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/0.1499, allocations: 486.2 kB / 386.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006394/0.1506, allocations: 200.7 kB / 386.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.1506, allocations: 11.88 kB / 386.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006945/0.1513, allocations: 267.5 kB / 387.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.1513, allocations: 0 / 387.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001615/0.1529, allocations: 476.6 kB / 387.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/0.153, allocations: 110.8 kB / 387.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.1533, allocations: 229.8 kB / 388 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.1533, allocations: 29.7 kB / 388 MB, free: 6.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1535, allocations: 172.4 kB / 388.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.1535, allocations: 71.38 kB / 388.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.1536, allocations: 45.94 kB / 388.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1538, allocations: 334.8 kB / 388.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.1543, allocations: 170.1 kB / 388.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005475/0.1549, allocations: 231.6 kB / 389 MB, free: 5.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.1559, allocations: 328.6 kB / 389.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1559, allocations: 0 / 389.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001212/0.1572, allocations: 440.6 kB / 389.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.1572, allocations: 32.67 kB / 389.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1572, allocations: 7.938 kB / 389.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1572, allocations: 4.062 kB / 389.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.159, allocations: 267.6 kB / 390.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005185/0.1642, allocations: 3.19 MB / 393.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/0.1646, allocations: 56.06 kB / 393.3 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.1647, allocations: 7.984 kB / 393.3 MB, free: 488 kB / 350.1 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 0.0001962/0.1648, allocations: 137.8 kB / 393.5 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.1649, allocations: 27.8 kB / 393.5 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.618e-05/0.165, allocations: 34.11 kB / 393.5 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.165, allocations: 3.938 kB / 393.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.165, allocations: 0 / 393.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.165, allocations: 8 kB / 393.5 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.1668, allocations: 0.7915 MB / 394.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1668, allocations: 0 / 394.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/0.1686, allocations: 263.7 kB / 394.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1686, allocations: 3.938 kB / 394.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.1687, allocations: 11.98 kB / 394.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004965/0.1736, allocations: 3.183 MB / 397.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.1736, allocations: 4.031 kB / 397.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.1753, allocations: 0.6146 MB / 398.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.1754, allocations: 19.8 kB / 398.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.1755, allocations: 16.05 kB / 398.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.1758, allocations: 39.95 kB / 398.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.176, allocations: 31.89 kB / 398.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.176, allocations: 8 kB / 398.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.1762, allocations: 165.2 kB / 398.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1762, allocations: 4 kB / 398.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005412/0.1767, allocations: 83.83 kB / 398.8 MB, free: 10.77 MB / 366.1 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 0.0001588/0.1769, allocations: 107.2 kB / 398.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002672/0.1796, allocations: 0.5864 MB / 399.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1796, allocations: 128 / 399.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002081/0.1816, allocations: 382.8 kB / 399.8 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1821, allocations: 31.58 kB / 399.9 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.184, allocations: 0.6929 MB / 400.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.1842, allocations: 142.2 kB / 400.7 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.1843, allocations: 25.94 kB / 400.7 MB, free: 8.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.1844, allocations: 28.44 kB / 400.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1844, allocations: 0 / 400.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of Templates: time 0.008982/0.1934, allocations: 3.988 MB / 404.7 MB, free: 4.766 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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: 4.562266343040392]