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.00145/0.00145, allocations: 120.2 kB / 21.94 MB, free: 28 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.001622/0.001622, allocations: 208.8 kB / 25.24 MB, free: 3.562 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.703/1.703, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 55.92 kB / 348.4 MB, free: 9.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3541, allocations: 49.16 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004483/0.3586, allocations: 2.715 MB / 400.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3603, allocations: 0.7567 MB / 401.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.3605, allocations: 3.312 kB / 401.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.3608, allocations: 40.94 kB / 401.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.361, allocations: 89.2 kB / 401.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.3614, allocations: 100 kB / 401.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004806/0.3619, allocations: 390.1 kB / 401.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.3621, allocations: 59.53 kB / 401.7 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.3623, allocations: 157.9 kB / 401.9 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.3626, allocations: 167.1 kB / 402.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.3627, allocations: 33.09 kB / 402.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.818e-05/0.3627, allocations: 36.41 kB / 402.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.3628, allocations: 74.23 kB / 402.2 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.363, allocations: 154.3 kB / 402.4 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005416/0.3636, allocations: 368 kB / 402.7 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3636, allocations: 0 / 402.7 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3636, allocations: 4 kB / 402.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.3636, allocations: 1.25 kB / 402.7 MB, free: 6.23 MB / 318.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.001628/0.3652, allocations: 0.6043 MB / 403.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.3652, allocations: 13.61 kB / 403.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.001e-05/0.3653, allocations: 32.16 kB / 403.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.3657, allocations: 207.9 kB / 403.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.3658, allocations: 13.28 kB / 403.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/0.3658, allocations: 21.34 kB / 403.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.3666, allocations: 313.1 kB / 403.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3666, allocations: 1.312 kB / 403.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.3666, allocations: 10.33 kB / 403.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3666, allocations: 4.594 kB / 403.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009327/0.3676, allocations: 297.8 kB / 404.2 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.3694, allocations: 0.9282 MB / 405.1 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/0.3725, allocations: 488.3 kB / 405.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006849/0.3732, allocations: 201.7 kB / 405.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.3732, allocations: 2.125 kB / 405.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000665/0.3739, allocations: 241.6 kB / 406.1 MB, free: 4.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 3.086e-06/0.3739, allocations: 7.984 kB / 406.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001628/0.3755, allocations: 457.7 kB / 406.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.3756, allocations: 115 kB / 406.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.3759, allocations: 235.6 kB / 406.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.3759, allocations: 31.08 kB / 406.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.376, allocations: 159.5 kB / 407 MB, free: 3.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.3761, allocations: 74.44 kB / 407.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3762, allocations: 47.66 kB / 407.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.3763, allocations: 332 kB / 407.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.3768, allocations: 138.3 kB / 407.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.3772, allocations: 179.8 kB / 407.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008726/0.3781, allocations: 317.2 kB / 408.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3781, allocations: 0 / 408.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001106/0.3792, allocations: 404.6 kB / 408.5 MB, free: 3.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/0.3793, allocations: 37.52 kB / 408.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3793, allocations: 5.25 kB / 408.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/0.3793, allocations: 1.406 kB / 408.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.3812, allocations: 240.6 kB / 408.8 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/0.3855, allocations: 3.188 MB / 412 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.386, allocations: 57.59 kB / 412 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.3861, allocations: 9.422 kB / 412 MB, free: 15.98 MB / 334.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.0002382/0.3863, allocations: 142.9 kB / 412.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.3864, allocations: 31.25 kB / 412.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.62e-05/0.3864, allocations: 31.55 kB / 412.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3864, allocations: 2.469 kB / 412.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3864, allocations: 1.188 kB / 412.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.3865, allocations: 5.203 kB / 412.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.3885, allocations: 0.8694 MB / 413.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3885, allocations: 0 / 413.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/0.3903, allocations: 235 kB / 413.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.3903, allocations: 2.5 kB / 413.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.3904, allocations: 6.125 kB / 413.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005192/0.3955, allocations: 3.199 MB / 416.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3955, allocations: 0 / 416.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.3973, allocations: 0.6029 MB / 417.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3974, allocations: 22.27 kB / 417.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.081e-05/0.3975, allocations: 10.89 kB / 417.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.3979, allocations: 39.61 kB / 417.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.398, allocations: 33.3 kB / 417.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.398, allocations: 8.594 kB / 417.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.3983, allocations: 171.6 kB / 417.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3983, allocations: 0 / 417.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005929/0.3989, allocations: 80.8 kB / 417.5 MB, free: 11.39 MB / 334.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.0001791/0.399, allocations: 102.7 kB / 417.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002721/0.4018, allocations: 0.5207 MB / 418.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.4018, allocations: 7.938 kB / 418.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002071/0.4038, allocations: 341.6 kB / 418.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.4044, allocations: 45.5 kB / 418.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.4067, allocations: 0.7145 MB / 419.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.4072, allocations: 0.7506 MB / 420 MB, free: 9.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.4073, allocations: 20.22 kB / 420 MB, free: 9.617 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4073, allocations: 7.938 kB / 420 MB, free: 9.609 MB / 334.1 MB Notification: Performance of Templates: time 0.01208/0.4194, allocations: 5.453 MB / 425.5 MB, free: 6.637 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/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: 8.24731045984663]