Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001564/0.001564, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 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.001658/0.001658, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.392/1.392, allocations: 230.6 MB / 258.2 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 51.92 kB / 379 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2501, allocations: 53.36 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004429/0.2546, allocations: 2.801 MB / 435.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.2562, allocations: 0.7556 MB / 436 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.2564, allocations: 4 kB / 436 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.2566, allocations: 39.56 kB / 436 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.2568, allocations: 91.2 kB / 436.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.2573, allocations: 115.8 kB / 436.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005273/0.2578, allocations: 390.5 kB / 436.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.258, allocations: 64.55 kB / 436.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.2583, allocations: 155.5 kB / 436.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.2586, allocations: 175.3 kB / 437 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.168e-05/0.2587, allocations: 32 kB / 437 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-05/0.2588, allocations: 39.98 kB / 437 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.064e-05/0.2588, allocations: 71.75 kB / 437.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.259, allocations: 159.2 kB / 437.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004944/0.2595, allocations: 385 kB / 437.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2595, allocations: 0 / 437.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2595, allocations: 0 / 437.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.2595, allocations: 3.938 kB / 437.6 MB, free: 1.684 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.001673/0.2612, allocations: 0.6048 MB / 438.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2612, allocations: 16.02 kB / 438.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.2614, allocations: 36.75 kB / 438.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.2619, allocations: 221.1 kB / 438.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.2619, allocations: 16.81 kB / 438.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.2619, allocations: 24.33 kB / 438.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007896/0.2627, allocations: 314 kB / 438.9 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2627, allocations: 3.984 kB / 438.9 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.2628, allocations: 15.94 kB / 438.9 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2628, allocations: 8 kB / 438.9 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009402/0.2637, allocations: 297.5 kB / 439.2 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.2655, allocations: 0.9249 MB / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.2685, allocations: 498.1 kB / 440.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006213/0.2691, allocations: 200.7 kB / 440.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.2692, allocations: 4 kB / 440.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006212/0.2698, allocations: 241.7 kB / 441 MB, free: 14.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.873e-06/0.2698, allocations: 0 / 441 MB, free: 14.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001563/0.2714, allocations: 476.7 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/0.2714, allocations: 110.8 kB / 441.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.2717, allocations: 233.1 kB / 441.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.2718, allocations: 29.7 kB / 441.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.2719, allocations: 168.4 kB / 442 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.285e-05/0.272, allocations: 71.38 kB / 442.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.2721, allocations: 45.94 kB / 442.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2723, allocations: 334.8 kB / 442.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004976/0.2728, allocations: 148.3 kB / 442.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.2733, allocations: 184.2 kB / 442.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009565/0.2743, allocations: 316.1 kB / 443.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2743, allocations: 0 / 443.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001171/0.2754, allocations: 411 kB / 443.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.2755, allocations: 41.64 kB / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2755, allocations: 0 / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2755, allocations: 0 / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.2773, allocations: 271.6 kB / 443.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005185/0.2825, allocations: 3.24 MB / 447 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.2829, allocations: 59.86 kB / 447.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.283, allocations: 12 kB / 447.1 MB, free: 7.719 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.0001852/0.2831, allocations: 145.7 kB / 447.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.2832, allocations: 23.86 kB / 447.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/0.2833, allocations: 38.05 kB / 447.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2833, allocations: 0 / 447.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.2833, allocations: 3.938 kB / 447.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2833, allocations: 4 kB / 447.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.2851, allocations: 0.8729 MB / 448.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2851, allocations: 0 / 448.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/0.2869, allocations: 259.7 kB / 448.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2869, allocations: 4 kB / 448.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.2869, allocations: 7.984 kB / 448.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0051/0.292, allocations: 3.24 MB / 451.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.292, allocations: 0 / 451.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.2935, allocations: 0.6079 MB / 452.3 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.178e-05/0.2936, allocations: 23.84 kB / 452.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.2937, allocations: 7.938 kB / 452.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.294, allocations: 44.02 kB / 452.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.2941, allocations: 35.89 kB / 452.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.2941, allocations: 8 kB / 452.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.2943, allocations: 172.5 kB / 452.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2943, allocations: 0 / 452.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004901/0.2948, allocations: 79.89 kB / 452.7 MB, free: 1.836 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.0001392/0.295, allocations: 107.2 kB / 452.8 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002575/0.2975, allocations: 0.5537 MB / 453.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2975, allocations: 128 / 453.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002056/0.2996, allocations: 382.5 kB / 453.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.3, allocations: 46.2 kB / 453.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.3018, allocations: 0.726 MB / 454.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.3021, allocations: 0.7518 MB / 455.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.574e-05/0.3022, allocations: 23.42 kB / 455.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3022, allocations: 7.938 kB / 455.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of Templates: time 0.00801/0.3103, allocations: 5.527 MB / 460.8 MB, free: 9.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.206114802043885]