Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.418/1.418, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.83 kB / 378.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.282, allocations: 53.31 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005891/0.2879, allocations: 4.024 MB / 436.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.2909, allocations: 1.644 MB / 437.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.2912, allocations: 12 kB / 437.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008465/0.2921, allocations: 254.7 kB / 438 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007524/0.2928, allocations: 298.2 kB / 438.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006775/0.2935, allocations: 266.1 kB / 438.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008372/0.2943, allocations: 0.7241 MB / 439.3 MB, free: 128 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.2946, allocations: 122.5 kB / 439.4 MB, free: 0 / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005433/0.2952, allocations: 287.1 kB / 439.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004703/0.2956, allocations: 310.6 kB / 440 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.2957, allocations: 52 kB / 440 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.296, allocations: 107.8 kB / 440.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.2962, allocations: 143.5 kB / 440.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003148/0.2965, allocations: 302.5 kB / 440.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009093/0.2974, allocations: 0.7274 MB / 441.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2974, allocations: 4 kB / 441.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2974, allocations: 0 / 441.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.2974, allocations: 0 / 441.3 MB, free: 14.09 MB / 350.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.001958/0.2994, allocations: 0.9602 MB / 442.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2994, allocations: 8.031 kB / 442.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/0.2997, allocations: 84.45 kB / 442.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.3004, allocations: 435.1 kB / 442.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.3004, allocations: 29.38 kB / 442.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.3005, allocations: 40.12 kB / 442.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/0.3013, allocations: 437.5 kB / 443.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.3013, allocations: 4 kB / 443.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.3013, allocations: 20 kB / 443.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.3014, allocations: 8 kB / 443.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006168/0.302, allocations: 315.7 kB / 443.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.3046, allocations: 1.699 MB / 445.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.3053, allocations: 323.1 kB / 445.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.3057, allocations: 160.6 kB / 445.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.3057, allocations: 11.97 kB / 445.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004791/0.3062, allocations: 262.4 kB / 446 MB, free: 9.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.613e-06/0.3062, allocations: 0 / 446 MB, free: 9.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002272/0.3084, allocations: 1.009 MB / 447 MB, free: 7.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/0.3086, allocations: 187.9 kB / 447.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.3093, allocations: 0.5096 MB / 447.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.3094, allocations: 33.7 kB / 447.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.3096, allocations: 264.8 kB / 448 MB, free: 6.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.3097, allocations: 134.8 kB / 448.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.3099, allocations: 70.14 kB / 448.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.3101, allocations: 358.8 kB / 448.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.3103, allocations: 124.8 kB / 448.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.3107, allocations: 217.3 kB / 448.9 MB, free: 6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005574/0.3112, allocations: 269.2 kB / 449.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3112, allocations: 4 kB / 449.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008805/0.3121, allocations: 473.2 kB / 449.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3121, allocations: 4 kB / 449.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3122, allocations: 4 kB / 449.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005304/0.3127, allocations: 167.3 kB / 449.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.3129, allocations: 47.91 kB / 449.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00616/0.3191, allocations: 6.656 MB / 456.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/0.3195, allocations: 51.8 kB / 456.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.3195, allocations: 12 kB / 456.6 MB, free: 13.74 MB / 366.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.0003323/0.3199, allocations: 195.4 kB / 456.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.32, allocations: 63.56 kB / 456.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.321, allocations: 493.4 kB / 457.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.321, allocations: 4 kB / 457.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.321, allocations: 4 kB / 457.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.321, allocations: 7.984 kB / 457.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.3216, allocations: 497.1 kB / 457.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3216, allocations: 0 / 457.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3218, allocations: 24.03 kB / 457.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/0.3222, allocations: 167.4 kB / 458 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.3223, allocations: 8 kB / 458 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005919/0.3282, allocations: 6.364 MB / 464.4 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3282, allocations: 4.125 kB / 464.4 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.3293, allocations: 0.5011 MB / 464.9 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.3295, allocations: 156.7 kB / 465 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-05/0.3296, allocations: 15.94 kB / 465 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.3299, allocations: 27.97 kB / 465.1 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.33, allocations: 59.86 kB / 465.1 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.3301, allocations: 12 kB / 465.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005074/0.3306, allocations: 367.1 kB / 465.5 MB, free: 4.121 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3306, allocations: 0 / 465.5 MB, free: 4.121 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007839/0.3313, allocations: 179.7 kB / 465.7 MB, free: 3.945 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.001548/0.3329, allocations: 430.9 kB / 466.1 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.3342, allocations: 0.7991 MB / 466.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3342, allocations: 0 / 466.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007922/0.335, allocations: 0.6353 MB / 467.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005849/0.3355, allocations: 117.8 kB / 467.6 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.3377, allocations: 1.021 MB / 468.7 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.3383, allocations: 0.8673 MB / 469.5 MB, free: 84 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-05/0.3384, allocations: 31.44 kB / 469.6 MB, free: 52 kB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3384, allocations: 0 / 469.6 MB, free: 52 kB / 366.1 MB Notification: Performance of Templates: time 0.01936/0.3577, allocations: 14.97 MB / 484.5 MB, free: 1.121 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.328281110152602]