Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.001755/0.001755, allocations: 118.6 kB / 18.46 MB, free: 4.617 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.00204/0.00204, allocations: 188.3 kB / 21.4 MB, free: 1.688 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.453/1.453, allocations: 225.6 MB / 249.8 MB, free: 3.512 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.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 51.92 kB / 366.8 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1148, allocations: 52.13 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004734/0.1195, allocations: 2.754 MB / 421.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.121, allocations: 0.705 MB / 422.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.1212, allocations: 4 kB / 422.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.1214, allocations: 43.56 kB / 422.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.1217, allocations: 87.27 kB / 422.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.1221, allocations: 107.7 kB / 422.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.1226, allocations: 378.5 kB / 423 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.1228, allocations: 56.72 kB / 423.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.1231, allocations: 147.5 kB / 423.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.1233, allocations: 175.3 kB / 423.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.146e-05/0.1234, allocations: 32 kB / 423.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.441e-05/0.1235, allocations: 32 kB / 423.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.1236, allocations: 75.75 kB / 423.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.1237, allocations: 151.3 kB / 423.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.1242, allocations: 366.5 kB / 424 MB, free: 7.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1242, allocations: 0 / 424 MB, free: 7.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1242, allocations: 3.938 kB / 424 MB, free: 7.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.1242, allocations: 3.938 kB / 424 MB, free: 7 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.001755/0.126, allocations: 0.6763 MB / 424.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.126, allocations: 11.89 kB / 424.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.311e-05/0.1261, allocations: 32.75 kB / 424.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.1266, allocations: 276.9 kB / 425 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.1266, allocations: 16.81 kB / 425 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.1266, allocations: 24.33 kB / 425.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007836/0.1274, allocations: 310 kB / 425.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1274, allocations: 0 / 425.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.1275, allocations: 11.98 kB / 425.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1275, allocations: 4 kB / 425.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009235/0.1284, allocations: 301.4 kB / 425.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.1303, allocations: 0.9571 MB / 426.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.1332, allocations: 482.2 kB / 427.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006276/0.1339, allocations: 204.6 kB / 427.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.1339, allocations: 3.984 kB / 427.3 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006275/0.1345, allocations: 237.7 kB / 427.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.325e-06/0.1345, allocations: 0 / 427.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001516/0.1361, allocations: 465 kB / 428 MB, free: 2.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.395e-05/0.1361, allocations: 110.8 kB / 428.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.1365, allocations: 229 kB / 428.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.1365, allocations: 29.7 kB / 428.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.1366, allocations: 168.3 kB / 428.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.694e-05/0.1367, allocations: 63.44 kB / 428.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.1368, allocations: 57.88 kB / 428.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.137, allocations: 330.8 kB / 429 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.1375, allocations: 136.4 kB / 429.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.138, allocations: 188.8 kB / 429.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009194/0.1389, allocations: 312.7 kB / 429.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1389, allocations: 0 / 429.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001123/0.14, allocations: 402.9 kB / 430 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/0.1401, allocations: 37.7 kB / 430 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1401, allocations: 4 kB / 430 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1401, allocations: 4 kB / 430 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.1419, allocations: 235.6 kB / 430.3 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005316/0.1472, allocations: 3.408 MB / 433.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/0.1476, allocations: 47.94 kB / 433.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.1476, allocations: 12 kB / 433.7 MB, free: 12.72 MB / 366.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.0002122/0.1479, allocations: 145.7 kB / 433.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.1479, allocations: 23.86 kB / 433.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.148, allocations: 34.17 kB / 433.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.148, allocations: 4 kB / 433.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.148, allocations: 3.938 kB / 433.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.148, allocations: 0 / 433.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.15, allocations: 0.8855 MB / 434.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.15, allocations: 4 kB / 434.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/0.1517, allocations: 231.7 kB / 435 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.1517, allocations: 4 kB / 435 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.1518, allocations: 0 / 435 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005249/0.157, allocations: 3.42 MB / 438.5 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.157, allocations: 4.031 kB / 438.5 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.1586, allocations: 0.5884 MB / 439.1 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.1587, allocations: 104.9 kB / 439.2 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.1588, allocations: 11.94 kB / 439.2 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.1592, allocations: 44.02 kB / 439.2 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.1593, allocations: 23.91 kB / 439.2 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.1593, allocations: 15.98 kB / 439.3 MB, free: 6.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.1595, allocations: 160.5 kB / 439.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1595, allocations: 0 / 439.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005296/0.16, allocations: 83.89 kB / 439.5 MB, free: 6.562 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.0001821/0.1602, allocations: 119.1 kB / 439.6 MB, free: 6.434 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002677/0.1629, allocations: 0.53 MB / 440.1 MB, free: 5.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1629, allocations: 0 / 440.1 MB, free: 5.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002071/0.165, allocations: 341.9 kB / 440.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.1655, allocations: 40.34 kB / 440.5 MB, free: 5.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.1675, allocations: 0.7149 MB / 441.2 MB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.168, allocations: 0.748 MB / 442 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.1681, allocations: 27.42 kB / 442 MB, free: 3.969 MB / 366.1 MB Notification: Performance of SimCode: time 2.365e-06/0.1681, allocations: 0 / 442 MB, free: 3.969 MB / 366.1 MB Notification: Performance of Templates: time 0.2769/0.445, allocations: 5.448 MB / 447.5 MB, free: 30.08 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.671922588022426]