Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002345/0.002345, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 102.1 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009216/0.0009216, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3011, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004811/0.306, allocations: 4.036 MB / 411.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.3088, allocations: 1.585 MB / 412.7 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003524/0.3092, allocations: 11.94 kB / 412.7 MB, free: 22.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008022/0.31, allocations: 227.2 kB / 412.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000669/0.3107, allocations: 258.6 kB / 413.2 MB, free: 21.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006882/0.3114, allocations: 256.8 kB / 413.4 MB, free: 21.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000575/0.312, allocations: 0.7006 MB / 414.1 MB, free: 20.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.3122, allocations: 155 kB / 414.3 MB, free: 20.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.3126, allocations: 266.9 kB / 414.5 MB, free: 20.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.3129, allocations: 290.7 kB / 414.8 MB, free: 20.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.96e-05/0.3129, allocations: 28 kB / 414.8 MB, free: 19.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.3131, allocations: 75.98 kB / 414.9 MB, free: 19.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.3133, allocations: 135.4 kB / 415 MB, free: 19.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.3135, allocations: 274.5 kB / 415.3 MB, free: 19.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.314, allocations: 0.6773 MB / 416 MB, free: 18.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.314, allocations: 3.984 kB / 416 MB, free: 18.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.314, allocations: 0 / 416 MB, free: 18.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.314, allocations: 0 / 416 MB, free: 18.83 MB / 298.7 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.001542/0.3156, allocations: 0.953 MB / 416.9 MB, free: 17.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3156, allocations: 8.031 kB / 416.9 MB, free: 17.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.3158, allocations: 76.17 kB / 417 MB, free: 17.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.3163, allocations: 402.8 kB / 417.4 MB, free: 17.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3163, allocations: 29.38 kB / 417.4 MB, free: 17.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.3164, allocations: 52.09 kB / 417.5 MB, free: 17.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006091/0.317, allocations: 441.5 kB / 417.9 MB, free: 16.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3171, allocations: 0 / 417.9 MB, free: 16.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.3171, allocations: 20 kB / 417.9 MB, free: 16.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.3171, allocations: 11.94 kB / 418 MB, free: 16.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.3176, allocations: 311.8 kB / 418.3 MB, free: 16.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.3196, allocations: 1.714 MB / 420 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.3202, allocations: 365.8 kB / 420.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.3205, allocations: 187.9 kB / 420.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.884e-05/0.3206, allocations: 11.98 kB / 420.5 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000391/0.321, allocations: 258.4 kB / 420.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.903e-06/0.321, allocations: 0 / 420.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001983/0.323, allocations: 1.014 MB / 421.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.209e-05/0.323, allocations: 195.9 kB / 422 MB, free: 12.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.3235, allocations: 0.5018 MB / 422.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3236, allocations: 29.7 kB / 422.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3237, allocations: 260.4 kB / 422.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.3238, allocations: 122.3 kB / 422.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3239, allocations: 78.06 kB / 423 MB, free: 11.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.324, allocations: 362.8 kB / 423.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.3242, allocations: 124.8 kB / 423.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.3245, allocations: 209.3 kB / 423.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.3249, allocations: 277.1 kB / 423.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.3249, allocations: 0 / 423.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006619/0.3256, allocations: 480.6 kB / 424.4 MB, free: 9.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3256, allocations: 8.094 kB / 424.4 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3256, allocations: 4 kB / 424.4 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/0.3261, allocations: 159.3 kB / 424.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.3264, allocations: 47.91 kB / 424.6 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/0.3298, allocations: 5.962 MB / 430.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.3303, allocations: 47.67 kB / 430.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.3303, allocations: 19.98 kB / 430.6 MB, free: 3.148 MB / 298.7 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.0002656/0.3306, allocations: 192.5 kB / 430.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.3307, allocations: 59.34 kB / 430.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.3308, allocations: 56.8 kB / 430.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3308, allocations: 4 kB / 430.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3308, allocations: 0 / 430.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3308, allocations: 3.984 kB / 430.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.3313, allocations: 493.1 kB / 431.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.3313, allocations: 0 / 431.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.3314, allocations: 31.92 kB / 431.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003805/0.3318, allocations: 155.3 kB / 431.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.3318, allocations: 8 kB / 431.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004608/0.3364, allocations: 5.796 MB / 437.4 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.3365, allocations: 7.938 kB / 437.4 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.3383, allocations: 1.282 MB / 438.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.3385, allocations: 152.4 kB / 438.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.3386, allocations: 12 kB / 438.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.3389, allocations: 35.97 kB / 438.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.339, allocations: 51.86 kB / 438.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.3391, allocations: 12 kB / 439 MB, free: 10.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004834/0.3396, allocations: 375 kB / 439.3 MB, free: 9.762 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3396, allocations: 0 / 439.3 MB, free: 9.762 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001044/0.3406, allocations: 163.8 kB / 439.5 MB, free: 9.602 MB / 314.7 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,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * 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.001615/0.3423, allocations: 440.7 kB / 439.9 MB, free: 9.309 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.3438, allocations: 0.803 MB / 440.7 MB, free: 8.453 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3438, allocations: 0 / 440.7 MB, free: 8.453 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007997/0.3446, allocations: 0.6507 MB / 441.4 MB, free: 7.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007031/0.3453, allocations: 114 kB / 441.5 MB, free: 7.641 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.348, allocations: 1.397 MB / 442.9 MB, free: 6.215 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.3486, allocations: 0.8748 MB / 443.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002538/0.3489, allocations: 52.16 kB / 443.8 MB, free: 5.262 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.349, allocations: 31.44 kB / 443.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of SimCode: time 8.71e-07/0.349, allocations: 0 / 443.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of Templates: time 0.01858/0.3676, allocations: 9.16 MB / 453 MB, free: 12.15 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches