Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001686/0.001686, allocations: 108.6 kB / 21.18 MB, free: 0.7812 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.001984/0.001984, allocations: 185.9 kB / 24.47 MB, free: 4.207 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.458/1.458, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 43.92 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2548, allocations: 52.17 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006132/0.2609, allocations: 4.018 MB / 427.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.2638, allocations: 1.453 MB / 429.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004014/0.2642, allocations: 11.94 kB / 429.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008803/0.2651, allocations: 254.8 kB / 429.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000812/0.2659, allocations: 262.4 kB / 429.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008596/0.2668, allocations: 290.4 kB / 430.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.2678, allocations: 0.7046 MB / 430.9 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.2681, allocations: 133 kB / 431 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000504/0.2686, allocations: 283 kB / 431.3 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004879/0.2691, allocations: 302.8 kB / 431.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.2692, allocations: 48 kB / 431.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.2694, allocations: 107.9 kB / 431.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.2696, allocations: 147.5 kB / 431.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.2699, allocations: 294.4 kB / 432.1 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000879/0.2708, allocations: 0.7095 MB / 432.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2708, allocations: 0 / 432.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2708, allocations: 0 / 432.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.2708, allocations: 4 kB / 432.9 MB, free: 5.652 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001692/0.2725, allocations: 0.8849 MB / 433.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2726, allocations: 8.031 kB / 433.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.2727, allocations: 72.5 kB / 433.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005835/0.2733, allocations: 353.3 kB / 434.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.2733, allocations: 29.38 kB / 434.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.2734, allocations: 44.12 kB / 434.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007846/0.2741, allocations: 437.5 kB / 434.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.2742, allocations: 4 kB / 434.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.2742, allocations: 16 kB / 434.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2742, allocations: 8 kB / 434.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/0.2749, allocations: 319.8 kB / 435 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.2774, allocations: 1.657 MB / 436.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.2781, allocations: 338.7 kB / 437 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.2785, allocations: 156.8 kB / 437.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.2785, allocations: 4 kB / 437.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004806/0.279, allocations: 258.4 kB / 437.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.279, allocations: 0 / 437.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00218/0.2812, allocations: 0.712 MB / 438.1 MB, free: 152 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.2813, allocations: 191.8 kB / 438.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006377/0.2819, allocations: 0.4979 MB / 438.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.282, allocations: 41.64 kB / 438.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.2822, allocations: 252.8 kB / 439.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.2824, allocations: 130.9 kB / 439.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.2825, allocations: 78.12 kB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.2827, allocations: 358.8 kB / 439.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.283, allocations: 120.8 kB / 439.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.2834, allocations: 217.2 kB / 440 MB, free: 14.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.2839, allocations: 269.3 kB / 440.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2839, allocations: 0 / 440.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008891/0.2848, allocations: 477.1 kB / 440.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.2848, allocations: 7.438 kB / 440.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2848, allocations: 4 kB / 440.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005357/0.2853, allocations: 159.3 kB / 440.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.2856, allocations: 43.95 kB / 440.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005913/0.2915, allocations: 6.242 MB / 447.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.2919, allocations: 51.75 kB / 447.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.292, allocations: 16 kB / 447.2 MB, free: 6.445 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003007/0.2923, allocations: 183.8 kB / 447.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.019e-05/0.2923, allocations: 59.67 kB / 447.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.2935, allocations: 0.4947 MB / 447.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2935, allocations: 4 kB / 448 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.2935, allocations: 0 / 448 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2935, allocations: 0 / 448 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.2941, allocations: 476.2 kB / 448.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.2941, allocations: 8 kB / 448.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.2943, allocations: 31.92 kB / 448.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/0.2947, allocations: 151.4 kB / 448.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.2948, allocations: 8 kB / 448.6 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005672/0.3004, allocations: 5.953 MB / 454.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3004, allocations: 0 / 454.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.3016, allocations: 0.492 MB / 455.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.3018, allocations: 87.55 kB / 455.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-05/0.3019, allocations: 8 kB / 455.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.3022, allocations: 31.97 kB / 455.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.3023, allocations: 55.91 kB / 455.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.3023, allocations: 12 kB / 455.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000469/0.3028, allocations: 359.1 kB / 455.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3028, allocations: 0 / 455.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008077/0.3036, allocations: 175.7 kB / 455.8 MB, free: 13.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001633/0.3053, allocations: 431.7 kB / 456.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.3065, allocations: 0.7842 MB / 457 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3066, allocations: 3.938 kB / 457 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00079/0.3073, allocations: 0.6389 MB / 457.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.3079, allocations: 132.5 kB / 457.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.3101, allocations: 1.007 MB / 458.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.3106, allocations: 0.8555 MB / 459.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3107, allocations: 39.42 kB / 459.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3107, allocations: 0 / 459.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of Templates: time 0.01974/0.3304, allocations: 14.7 MB / 474.4 MB, free: 10.76 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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: 9.17569143907167]