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.001576/0.001576, allocations: 114.7 kB / 18.45 MB, free: 4.566 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.00148/0.00148, allocations: 196.2 kB / 21.4 MB, free: 1.629 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.411/1.411, allocations: 225.6 MB / 249.8 MB, free: 3.75 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.001543/0.001543, allocations: 51.92 kB / 366.8 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1064, allocations: 52.13 MB / 418.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004269/0.1106, allocations: 2.756 MB / 421.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.112, allocations: 0.7128 MB / 422.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.1122, allocations: 4 kB / 422.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.1124, allocations: 39.58 kB / 422.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.1126, allocations: 91.25 kB / 422.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1129, allocations: 99.73 kB / 422.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004857/0.1134, allocations: 386.5 kB / 423 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.1136, allocations: 56.7 kB / 423.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.1138, allocations: 155.5 kB / 423.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.1141, allocations: 167.3 kB / 423.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.014e-05/0.1141, allocations: 32 kB / 423.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.613e-05/0.1142, allocations: 32 kB / 423.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.179e-05/0.1143, allocations: 79.67 kB / 423.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.1145, allocations: 147.3 kB / 423.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.1149, allocations: 366.5 kB / 424 MB, free: 7.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1149, allocations: 0 / 424 MB, free: 7.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1149, allocations: 4 kB / 424 MB, free: 7.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.115, allocations: 0 / 424 MB, free: 7.02 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.00167/0.1166, allocations: 0.6802 MB / 424.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.1167, allocations: 15.89 kB / 424.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.756e-05/0.1168, allocations: 28.75 kB / 424.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.1172, allocations: 276.9 kB / 425 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.1173, allocations: 12.81 kB / 425 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.1173, allocations: 28.33 kB / 425.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/0.1181, allocations: 310 kB / 425.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1181, allocations: 0 / 425.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.1182, allocations: 4 kB / 425.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1182, allocations: 12 kB / 425.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.1192, allocations: 293.5 kB / 425.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.121, allocations: 0.9688 MB / 426.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/0.1239, allocations: 474.2 kB / 427.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006714/0.1246, allocations: 200.7 kB / 427.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.1246, allocations: 4 kB / 427.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006612/0.1253, allocations: 241.7 kB / 427.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.1253, allocations: 0 / 427.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001666/0.127, allocations: 459.1 kB / 428 MB, free: 2.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/0.1271, allocations: 118.8 kB / 428.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.1273, allocations: 225 kB / 428.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.1274, allocations: 33.7 kB / 428.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1275, allocations: 164.3 kB / 428.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.635e-05/0.1276, allocations: 71.42 kB / 428.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.1277, allocations: 53.81 kB / 428.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1279, allocations: 334.8 kB / 429 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004987/0.1284, allocations: 140.4 kB / 429.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.129, allocations: 180.9 kB / 429.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009793/0.1299, allocations: 308.7 kB / 429.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1299, allocations: 7.938 kB / 429.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001192/0.1311, allocations: 407 kB / 430 MB, free: 0.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.1312, allocations: 37.64 kB / 430 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1312, allocations: 0 / 430 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1312, allocations: 4 kB / 430 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.1329, allocations: 239.6 kB / 430.3 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005099/0.138, allocations: 3.4 MB / 433.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.1385, allocations: 51.97 kB / 433.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.1385, allocations: 12 kB / 433.7 MB, free: 12.73 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.0001964/0.1387, allocations: 137.8 kB / 433.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.1388, allocations: 23.86 kB / 433.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.1388, allocations: 26.19 kB / 433.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1388, allocations: 11.92 kB / 433.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1388, allocations: 0 / 433.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1388, allocations: 4 kB / 433.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.1408, allocations: 0.8913 MB / 434.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1408, allocations: 0 / 434.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.1425, allocations: 235.7 kB / 435 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1425, allocations: 0 / 435 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.1425, allocations: 8 kB / 435.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005002/0.1475, allocations: 3.416 MB / 438.5 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1475, allocations: 0 / 438.5 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.1492, allocations: 0.5959 MB / 439.1 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.1492, allocations: 104.9 kB / 439.2 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.1493, allocations: 7.938 kB / 439.2 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.1497, allocations: 39.95 kB / 439.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1498, allocations: 32.03 kB / 439.2 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.1498, allocations: 4 kB / 439.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.15, allocations: 172.5 kB / 439.4 MB, free: 6.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.15, allocations: 0 / 439.4 MB, free: 6.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004845/0.1505, allocations: 75.95 kB / 439.5 MB, free: 6.582 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.0001566/0.1506, allocations: 119 kB / 439.6 MB, free: 6.453 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.1532, allocations: 0.5393 MB / 440.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1532, allocations: 0 / 440.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.1552, allocations: 339.8 kB / 440.5 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.1556, allocations: 46.78 kB / 440.5 MB, free: 5.523 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.1575, allocations: 0.7156 MB / 441.2 MB, free: 4.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.1579, allocations: 0.748 MB / 442 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.158, allocations: 27.42 kB / 442 MB, free: 3.973 MB / 366.1 MB Notification: Performance of SimCode: time 1.243e-06/0.158, allocations: 0 / 442 MB, free: 3.973 MB / 366.1 MB Notification: Performance of Templates: time 0.1803/0.3383, allocations: 5.444 MB / 447.5 MB, free: 30.16 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.406227546976879]