Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009758/0.0009758, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 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.0009786/0.0009786, allocations: 169.2 kB / 25.33 MB, free: 9.02 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.09/1.09, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.007e-05, allocations: 6.25 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004574/0.004604, allocations: 2.708 MB / 253.8 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.006343, allocations: 0.7214 MB / 254.5 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.006572, allocations: 4 kB / 254.5 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.006819, allocations: 39.58 kB / 254.5 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.007145, allocations: 99.14 kB / 254.6 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.00778, allocations: 111.7 kB / 254.7 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006982/0.008478, allocations: 386.3 kB / 255.1 MB, free: 3.434 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.008722, allocations: 64.75 kB / 255.2 MB, free: 3.367 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.009258, allocations: 211.6 kB / 255.4 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004912/0.009749, allocations: 131.6 kB / 255.5 MB, free: 3.031 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.592e-05/0.009835, allocations: 35.94 kB / 255.5 MB, free: 2.996 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.791e-05/0.009903, allocations: 32 kB / 255.6 MB, free: 2.965 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.831e-05/0.009991, allocations: 75.73 kB / 255.6 MB, free: 2.891 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.01015, allocations: 111.7 kB / 255.7 MB, free: 2.781 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005091/0.01066, allocations: 255.1 kB / 256 MB, free: 2.531 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.01067, allocations: 0 / 256 MB, free: 2.531 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01067, allocations: 0 / 256 MB, free: 2.531 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.01068, allocations: 0 / 256 MB, free: 2.531 MB / 234.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.001487/0.01217, allocations: 0.6736 MB / 256.7 MB, free: 1.816 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.088e-05/0.01224, allocations: 11.98 kB / 256.7 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.01239, allocations: 52.75 kB / 256.7 MB, free: 1.754 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.01288, allocations: 209.2 kB / 256.9 MB, free: 1.516 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.01293, allocations: 16.88 kB / 257 MB, free: 1.496 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.979e-05/0.013, allocations: 16.38 kB / 257 MB, free: 1.48 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.01365, allocations: 283.3 kB / 257.2 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.01366, allocations: 192 / 257.2 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.01369, allocations: 8.375 kB / 257.3 MB, free: 1.172 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.01371, allocations: 7.938 kB / 257.3 MB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.014, allocations: 102.9 kB / 257.4 MB, free: 1.066 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.01568, allocations: 0.8618 MB / 258.2 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.01733, allocations: 302.9 kB / 258.5 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.01769, allocations: 103.6 kB / 258.6 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.01774, allocations: 8 kB / 258.6 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/0.01812, allocations: 182 kB / 258.8 MB, free: 15.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 2.314e-06/0.01812, allocations: 4 kB / 258.8 MB, free: 15.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007046/0.01882, allocations: 209.4 kB / 259 MB, free: 15.3 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.01891, allocations: 118.7 kB / 259.1 MB, free: 15.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.01919, allocations: 272.3 kB / 259.4 MB, free: 14.88 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.01923, allocations: 29.7 kB / 259.4 MB, free: 14.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.01938, allocations: 199.2 kB / 259.6 MB, free: 14.64 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.01946, allocations: 75.38 kB / 259.7 MB, free: 14.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.01959, allocations: 55.72 kB / 259.7 MB, free: 14.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.01977, allocations: 0.504 MB / 260.3 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.01995, allocations: 74.14 kB / 260.3 MB, free: 13.91 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.02015, allocations: 139 kB / 260.5 MB, free: 13.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.02045, allocations: 156.5 kB / 260.6 MB, free: 13.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.02046, allocations: 0 / 260.6 MB, free: 13.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005125/0.02097, allocations: 260.9 kB / 260.9 MB, free: 13.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/0.02102, allocations: 33.7 kB / 260.9 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.02103, allocations: 7.984 kB / 260.9 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/0.02106, allocations: 4 kB / 260.9 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009687/0.02203, allocations: 179.8 kB / 261.1 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004084/0.02612, allocations: 3.981 MB / 265.1 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.02642, allocations: 44.05 kB / 265.1 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.02646, allocations: 8 kB / 265.1 MB, free: 8.816 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 0.0002015/0.02666, allocations: 172.5 kB / 265.3 MB, free: 8.637 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.02673, allocations: 31.86 kB / 265.3 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.02679, allocations: 22.12 kB / 265.3 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.0268, allocations: 7.938 kB / 265.3 MB, free: 8.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.0268, allocations: 3.984 kB / 265.4 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.02681, allocations: 3.938 kB / 265.4 MB, free: 8.562 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.028, allocations: 0.7066 MB / 266.1 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.02801, allocations: 0 / 266.1 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009218/0.02893, allocations: 179.7 kB / 266.2 MB, free: 7.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.02894, allocations: 0 / 266.2 MB, free: 7.629 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.02896, allocations: 8 kB / 266.2 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003392/0.03236, allocations: 3.989 MB / 270.2 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.03236, allocations: 0 / 270.2 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.03296, allocations: 411.7 kB / 270.6 MB, free: 2.969 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.033, allocations: 23.8 kB / 270.7 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.03304, allocations: 7.984 kB / 270.7 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.03327, allocations: 19.98 kB / 270.7 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.03338, allocations: 31.95 kB / 270.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.03341, allocations: 16.05 kB / 270.7 MB, free: 2.871 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001561/0.03356, allocations: 193.1 kB / 270.9 MB, free: 2.68 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03356, allocations: 0 / 270.9 MB, free: 2.68 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006009/0.03416, allocations: 79.89 kB / 271 MB, free: 2.602 MB / 250.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 0.0001582/0.03432, allocations: 103.2 kB / 271.1 MB, free: 2.492 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.03559, allocations: 352.6 kB / 271.4 MB, free: 2.125 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.03559, allocations: 0 / 271.4 MB, free: 2.125 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009383/0.03653, allocations: 203.7 kB / 271.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.03716, allocations: 44.81 kB / 271.7 MB, free: 1.879 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.03907, allocations: 0.5792 MB / 272.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.467e-05/0.03915, allocations: 84.58 kB / 272.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000134/0.03929, allocations: 25.94 kB / 272.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.03939, allocations: 20.5 kB / 272.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of SimCode: time 1.433e-06/0.03939, allocations: 0 / 272.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of Templates: time 0.008897/0.04829, allocations: 3.919 MB / 276.3 MB, free: 13.22 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.2473005251958966]