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.001768/0.001768, allocations: 120.5 kB / 18.41 MB, free: 4.645 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.001675/0.001675, allocations: 190.7 kB / 21.35 MB, free: 1.711 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.524/1.524, allocations: 222.9 MB / 247 MB, free: 4.066 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.001596/0.001596, allocations: 47.92 kB / 358.7 MB, free: 8.164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09402, allocations: 49.43 MB / 408.1 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003952/0.09801, allocations: 2.737 MB / 410.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.09931, allocations: 0.6972 MB / 411.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.09947, allocations: 4 kB / 411.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.09963, allocations: 43.58 kB / 411.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.09984, allocations: 79.27 kB / 411.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.1002, allocations: 115.7 kB / 411.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.1006, allocations: 386.5 kB / 412.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.1008, allocations: 84.62 kB / 412.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.1011, allocations: 143.5 kB / 412.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1013, allocations: 175.3 kB / 412.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.1014, allocations: 32 kB / 412.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.1015, allocations: 32 kB / 412.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.1016, allocations: 71.75 kB / 412.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.1017, allocations: 155.3 kB / 412.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.1022, allocations: 366.5 kB / 413.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1022, allocations: 0 / 413.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1022, allocations: 0 / 413.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1022, allocations: 4 kB / 413.2 MB, free: 1.57 MB / 334.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.001556/0.1038, allocations: 0.6762 MB / 413.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1038, allocations: 15.89 kB / 413.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.1039, allocations: 28.75 kB / 413.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.1043, allocations: 269 kB / 414.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.1043, allocations: 12.81 kB / 414.2 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.1044, allocations: 28.33 kB / 414.2 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/0.1052, allocations: 310 kB / 414.5 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1052, allocations: 0 / 414.5 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.1052, allocations: 4 kB / 414.5 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1052, allocations: 8 kB / 414.5 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.1063, allocations: 297.5 kB / 414.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.1081, allocations: 0.9648 MB / 415.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.1111, allocations: 498.2 kB / 416.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/0.1118, allocations: 216.7 kB / 416.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.1118, allocations: 3.984 kB / 416.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006889/0.1125, allocations: 235 kB / 416.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.943e-06/0.1126, allocations: 3.938 kB / 416.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001682/0.1143, allocations: 466.6 kB / 417.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.1143, allocations: 110.8 kB / 417.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1146, allocations: 233 kB / 417.5 MB, free: 13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.1147, allocations: 29.7 kB / 417.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.1148, allocations: 164.3 kB / 417.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.1149, allocations: 67.44 kB / 417.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.115, allocations: 49.89 kB / 417.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1151, allocations: 330.8 kB / 418.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005385/0.1157, allocations: 144.4 kB / 418.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/0.1162, allocations: 177.8 kB / 418.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.1173, allocations: 312.7 kB / 418.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1173, allocations: 4 kB / 418.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001213/0.1185, allocations: 399 kB / 419.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.1186, allocations: 41.62 kB / 419.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1186, allocations: 3.938 kB / 419.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1186, allocations: 0 / 419.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.1204, allocations: 247.6 kB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005129/0.1256, allocations: 3.404 MB / 422.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.126, allocations: 47.84 kB / 422.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.1261, allocations: 12.09 kB / 422.9 MB, free: 7.266 MB / 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.0001954/0.1263, allocations: 143.6 kB / 423 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.1263, allocations: 23.86 kB / 423.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.523e-05/0.1264, allocations: 30.17 kB / 423.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1264, allocations: 4 kB / 423.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1264, allocations: 0 / 423.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.1264, allocations: 3.984 kB / 423.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.1284, allocations: 0.8855 MB / 424 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1284, allocations: 0 / 424 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/0.1302, allocations: 235.7 kB / 424.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.1302, allocations: 7.984 kB / 424.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.1302, allocations: 0 / 424.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/0.1353, allocations: 3.416 MB / 427.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1353, allocations: 0 / 427.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.137, allocations: 0.5961 MB / 428.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-05/0.1371, allocations: 100.9 kB / 428.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.1372, allocations: 15.92 kB / 428.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.1375, allocations: 35.95 kB / 428.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/0.1376, allocations: 27.91 kB / 428.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.1377, allocations: 16.06 kB / 428.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.1379, allocations: 164.5 kB / 428.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1379, allocations: 0 / 428.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004968/0.1384, allocations: 87.83 kB / 428.7 MB, free: 1.109 MB / 350.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.0001531/0.1385, allocations: 107.2 kB / 428.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002723/0.1413, allocations: 0.5457 MB / 429.3 MB, free: 444 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1413, allocations: 3.938 kB / 429.3 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.1433, allocations: 346.2 kB / 429.7 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.1438, allocations: 40.3 kB / 429.7 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1868/0.3306, allocations: 0.7093 MB / 430.4 MB, free: 22.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.3308, allocations: 0.7531 MB / 431.2 MB, free: 21.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.331, allocations: 17.16 kB / 431.2 MB, free: 21.75 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.331, allocations: 0.8125 kB / 431.2 MB, free: 21.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01013/0.3411, allocations: 5.441 MB / 436.6 MB, free: 21.46 MB / 350.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.740594957955182]