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.001664/0.001664, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001867/0.001867, allocations: 187.5 kB / 24.46 MB, free: 3.863 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.433/1.433, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.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.001573/0.001573, allocations: 47.92 kB / 371.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2738, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.006716/0.2805, allocations: 2.566 MB / 426.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.2827, allocations: 0.67 MB / 427.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.2828, allocations: 4 kB / 427.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.2831, allocations: 39.58 kB / 427.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.2834, allocations: 95.19 kB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.2839, allocations: 99.81 kB / 427.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007347/0.2847, allocations: 382.5 kB / 427.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.2849, allocations: 55.86 kB / 427.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003923/0.2853, allocations: 155.5 kB / 427.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003874/0.2857, allocations: 159.3 kB / 428 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-05/0.2858, allocations: 32 kB / 428.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.2859, allocations: 32 kB / 428.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.286, allocations: 67.77 kB / 428.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.2862, allocations: 131.4 kB / 428.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006762/0.2869, allocations: 366.3 kB / 428.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2869, allocations: 4 kB / 428.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.2869, allocations: 0 / 428.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2869, allocations: 0 / 428.6 MB, free: 9.637 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.002616/0.2895, allocations: 0.6048 MB / 429.2 MB, free: 8.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.2896, allocations: 16.02 kB / 429.3 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.2897, allocations: 32.75 kB / 429.3 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006449/0.2904, allocations: 210.9 kB / 429.5 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.2904, allocations: 12.81 kB / 429.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/0.2905, allocations: 28.33 kB / 429.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.2919, allocations: 339.7 kB / 429.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.2919, allocations: 0 / 429.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.609e-05/0.292, allocations: 8 kB / 429.9 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.292, allocations: 4 kB / 429.9 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.2938, allocations: 293.5 kB / 430.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.2966, allocations: 0.8164 MB / 431 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005044/0.3017, allocations: 482.1 kB / 431.5 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.3028, allocations: 196.7 kB / 431.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.3029, allocations: 3.984 kB / 431.7 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.304, allocations: 265.5 kB / 431.9 MB, free: 6.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 3.697e-06/0.304, allocations: 0 / 431.9 MB, free: 6.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.002874/0.3069, allocations: 464 kB / 432.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.307, allocations: 114.8 kB / 432.5 MB, free: 5.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.3075, allocations: 232.8 kB / 432.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.3076, allocations: 29.7 kB / 432.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.3078, allocations: 164.4 kB / 432.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.3079, allocations: 71.39 kB / 433 MB, free: 5.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.3081, allocations: 53.92 kB / 433 MB, free: 5.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002464/0.3083, allocations: 334.8 kB / 433.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000907/0.3092, allocations: 166 kB / 433.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009376/0.3102, allocations: 232.8 kB / 433.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.3118, allocations: 308.1 kB / 434 MB, free: 3.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3118, allocations: 4 kB / 434 MB, free: 3.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002087/0.3139, allocations: 436.6 kB / 434.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.314, allocations: 33.7 kB / 434.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.314, allocations: 3.938 kB / 434.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.314, allocations: 4 kB / 434.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003137/0.3172, allocations: 239.7 kB / 434.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008334/0.3255, allocations: 3.141 MB / 437.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007286/0.3262, allocations: 47.84 kB / 437.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.3263, allocations: 8 kB / 437.9 MB, free: 15.84 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.0003046/0.3266, allocations: 141.8 kB / 438.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.56e-05/0.3267, allocations: 27.8 kB / 438.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.575e-05/0.3268, allocations: 30.22 kB / 438.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.3268, allocations: 11.97 kB / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3268, allocations: 0 / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3268, allocations: 0 / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/0.3301, allocations: 0.7914 MB / 438.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3301, allocations: 4.062 kB / 438.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/0.3329, allocations: 227.7 kB / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/0.333, allocations: 4 kB / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.333, allocations: 4 kB / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005264/0.3383, allocations: 3.159 MB / 442.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3383, allocations: 0 / 442.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.3399, allocations: 0.6006 MB / 442.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.3399, allocations: 23.8 kB / 443 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.34, allocations: 11.98 kB / 443 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.3403, allocations: 40.02 kB / 443 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/0.3404, allocations: 27.95 kB / 443 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.3405, allocations: 8 kB / 443 MB, free: 10.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001784/0.3406, allocations: 168.5 kB / 443.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3406, allocations: 0 / 443.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004831/0.3411, allocations: 71.95 kB / 443.3 MB, free: 10.23 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.0001661/0.3413, allocations: 123 kB / 443.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.3438, allocations: 0.5474 MB / 443.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3438, allocations: 0 / 443.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.3458, allocations: 350.3 kB / 444.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.3462, allocations: 43.67 kB / 444.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.348, allocations: 0.721 MB / 445 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.3482, allocations: 142.2 kB / 445.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.239e-05/0.3483, allocations: 23.44 kB / 445.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3483, allocations: 0 / 445.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of Templates: time 0.008486/0.3568, allocations: 5.493 MB / 450.7 MB, free: 2.727 MB / 350.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.538674285169691]