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.001606/0.001606, allocations: 84.84 kB / 21.44 MB, free: 296 kB / 14.72 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.00173/0.00173, allocations: 164.3 kB / 24.7 MB, free: 3.547 MB / 14.72 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.366/1.366, allocations: 158.6 MB / 186.5 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] 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.383e-06/1.383e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.209e-05, allocations: 2.281 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004211/0.004244, allocations: 2.52 MB / 301.5 MB, free: 6.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.005802, allocations: 0.7253 MB / 302.2 MB, free: 5.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.00593, allocations: 4 kB / 302.2 MB, free: 5.445 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.0061, allocations: 35.62 kB / 302.2 MB, free: 5.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.0063, allocations: 95.14 kB / 302.3 MB, free: 5.316 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.006618, allocations: 107.7 kB / 302.4 MB, free: 5.211 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000441/0.007059, allocations: 394.3 kB / 302.8 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.007219, allocations: 60.81 kB / 302.9 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/0.007562, allocations: 211.6 kB / 303.1 MB, free: 4.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.007789, allocations: 135.6 kB / 303.2 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.795e-05/0.007857, allocations: 36 kB / 303.2 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.376e-05/0.007921, allocations: 32 kB / 303.3 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.88e-05/0.00801, allocations: 67.75 kB / 303.3 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.008177, allocations: 111.7 kB / 303.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004946/0.008672, allocations: 382.8 kB / 303.8 MB, free: 3.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.008679, allocations: 4 kB / 303.8 MB, free: 3.809 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.008681, allocations: 0 / 303.8 MB, free: 3.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.008686, allocations: 7.938 kB / 303.8 MB, free: 3.801 MB / 286.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.00165/0.01034, allocations: 0.6009 MB / 304.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.01038, allocations: 15.98 kB / 304.5 MB, free: 3.148 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.451e-05/0.01047, allocations: 28.75 kB / 304.5 MB, free: 3.121 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.01088, allocations: 218.3 kB / 304.7 MB, free: 2.879 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.01091, allocations: 16.88 kB / 304.7 MB, free: 2.863 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.01096, allocations: 20.38 kB / 304.7 MB, free: 2.844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008438/0.0118, allocations: 332.9 kB / 305.1 MB, free: 2.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.01182, allocations: 192 / 305.1 MB, free: 2.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.01185, allocations: 12.38 kB / 305.1 MB, free: 2.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.01186, allocations: 7.938 kB / 305.1 MB, free: 2.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009804/0.01284, allocations: 297.7 kB / 305.4 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.0146, allocations: 0.8093 MB / 306.2 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.01753, allocations: 486.2 kB / 306.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/0.01821, allocations: 192.7 kB / 306.8 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.01824, allocations: 8 kB / 306.9 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000691/0.01893, allocations: 263.4 kB / 307.1 MB, free: 372 kB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/0.01893, allocations: 0 / 307.1 MB, free: 372 kB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001638/0.02057, allocations: 457.6 kB / 307.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.02068, allocations: 118.7 kB / 307.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.02097, allocations: 233.7 kB / 307.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.02101, allocations: 29.7 kB / 307.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.02115, allocations: 156.4 kB / 308.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.02123, allocations: 79.38 kB / 308.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.02134, allocations: 41.94 kB / 308.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.02153, allocations: 334.8 kB / 308.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/0.02208, allocations: 166.1 kB / 308.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005846/0.02266, allocations: 227.7 kB / 308.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000993/0.02366, allocations: 320 kB / 309.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.02366, allocations: 0 / 309.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001246/0.0249, allocations: 448.5 kB / 309.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.02495, allocations: 29.7 kB / 309.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.02495, allocations: 0 / 309.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.02497, allocations: 8.062 kB / 309.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.02673, allocations: 235.6 kB / 309.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005088/0.03182, allocations: 3.143 MB / 313.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.03225, allocations: 43.88 kB / 313.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.03228, allocations: 16.16 kB / 313.1 MB, free: 10 MB / 302.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.0002067/0.03248, allocations: 133.8 kB / 313.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.03253, allocations: 27.8 kB / 313.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/0.03261, allocations: 30.11 kB / 313.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.03262, allocations: 7.938 kB / 313.3 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.03262, allocations: 3.938 kB / 313.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.03263, allocations: 3.984 kB / 313.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.03449, allocations: 0.7875 MB / 314.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.03449, allocations: 4 kB / 314.1 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.0362, allocations: 231.6 kB / 314.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.03621, allocations: 8 kB / 314.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.03624, allocations: 8 kB / 314.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005052/0.04129, allocations: 3.139 MB / 317.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.04129, allocations: 3.938 kB / 317.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.043, allocations: 0.6023 MB / 318.1 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.04306, allocations: 31.83 kB / 318.1 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.0431, allocations: 0 / 318.1 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.04346, allocations: 39.95 kB / 318.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.04356, allocations: 31.91 kB / 318.2 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.04359, allocations: 11.98 kB / 318.2 MB, free: 4.633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.04378, allocations: 165.2 kB / 318.4 MB, free: 4.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04378, allocations: 8 kB / 318.4 MB, free: 4.465 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004829/0.04427, allocations: 79.89 kB / 318.5 MB, free: 4.387 MB / 302.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.0001838/0.04445, allocations: 107.2 kB / 318.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002546/0.04699, allocations: 0.5513 MB / 319.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.047, allocations: 4.062 kB / 319.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.04912, allocations: 348.5 kB / 319.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.04957, allocations: 46.97 kB / 319.5 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.05142, allocations: 0.618 MB / 320.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.05158, allocations: 138.2 kB / 320.3 MB, free: 2.508 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.0517, allocations: 25.94 kB / 320.3 MB, free: 2.484 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.466e-05/0.05179, allocations: 24.5 kB / 320.3 MB, free: 2.461 MB / 302.1 MB Notification: Performance of SimCode: time 7.61e-07/0.05179, allocations: 0 / 320.3 MB, free: 2.461 MB / 302.1 MB Notification: Performance of Templates: time 0.138/0.1898, allocations: 3.869 MB / 324.2 MB, free: 33.95 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.38740124925971]