Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 179 kB / 18.04 MB, free: 3.633 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008142/0.0008141, allocations: 87.91 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003502, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2601, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09731/0.3574, allocations: 82.34 MB / 459.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.3577, allocations: 75.95 kB / 459.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03072/0.3884, allocations: 11.07 MB / 470.5 MB, free: 3.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3885, allocations: 0 / 470.5 MB, free: 3.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.892e-05/0.3885, allocations: 12 kB / 470.5 MB, free: 3.02 MB / 346.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.001671/0.3902, allocations: 0.8538 MB / 471.4 MB, free: 2.109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3903, allocations: 15.97 kB / 471.4 MB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.3905, allocations: 68.09 kB / 471.4 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006863/0.3912, allocations: 430.7 kB / 471.9 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.3912, allocations: 29.38 kB / 471.9 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.275e-05/0.3913, allocations: 40.38 kB / 471.9 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00076/0.3921, allocations: 442.1 kB / 472.4 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3921, allocations: 4.188 kB / 472.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.3921, allocations: 19.94 kB / 472.4 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3922, allocations: 12 kB / 472.4 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.3928, allocations: 307.8 kB / 472.7 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.3954, allocations: 1.749 MB / 474.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.3962, allocations: 380.6 kB / 474.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.3965, allocations: 188.8 kB / 475 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.3965, allocations: 4 kB / 475 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.397, allocations: 266.3 kB / 475.3 MB, free: 14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 4.028e-06/0.397, allocations: 0 / 475.3 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.002176/0.3992, allocations: 1.044 MB / 476.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.3993, allocations: 191.9 kB / 476.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007678/0.4001, allocations: 489.9 kB / 477 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.4002, allocations: 41.69 kB / 477 MB, free: 12.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.4004, allocations: 252.4 kB / 477.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.4005, allocations: 122.3 kB / 477.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.4005, allocations: 8 kB / 477.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4007, allocations: 366.7 kB / 477.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.401, allocations: 120.8 kB / 477.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.4013, allocations: 217.2 kB / 478.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.4018, allocations: 277.3 kB / 478.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4018, allocations: 0 / 478.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008953/0.4027, allocations: 476.8 kB / 478.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4028, allocations: 8 kB / 478.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.4028, allocations: 0 / 478.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005254/0.4033, allocations: 163.4 kB / 479 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.4035, allocations: 43.97 kB / 479 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00487/0.4084, allocations: 5.95 MB / 485 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.4089, allocations: 63.75 kB / 485 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.4089, allocations: 16 kB / 485.1 MB, free: 3.426 MB / 362.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 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003269/0.4093, allocations: 191.7 kB / 485.2 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.4094, allocations: 51.34 kB / 485.3 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4104, allocations: 0.5125 MB / 485.8 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.4105, allocations: 4 kB / 485.8 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.4105, allocations: 0 / 485.8 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4105, allocations: 0 / 485.8 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006255/0.4111, allocations: 0.5048 MB / 486.3 MB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4111, allocations: 8.125 kB / 486.3 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.4113, allocations: 31.92 kB / 486.4 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004406/0.4117, allocations: 155.5 kB / 486.5 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.4118, allocations: 7.938 kB / 486.5 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00437/0.4161, allocations: 5.8 MB / 492.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4162, allocations: 0 / 492.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.4172, allocations: 0.5109 MB / 492.8 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.4174, allocations: 164.4 kB / 493 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.4175, allocations: 12 kB / 493 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.4178, allocations: 43.91 kB / 493 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.418, allocations: 55.91 kB / 493.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.418, allocations: 12 kB / 493.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004518/0.4185, allocations: 359.1 kB / 493.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4185, allocations: 0 / 493.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008004/0.4193, allocations: 175.7 kB / 493.6 MB, free: 10.19 MB / 378.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,IdealGTOThyristor1.off,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,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 (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009595/0.4203, allocations: 445 kB / 494.1 MB, free: 9.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.4214, allocations: 0.8149 MB / 494.9 MB, free: 8.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4215, allocations: 0 / 494.9 MB, free: 8.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006789/0.4221, allocations: 0.6548 MB / 495.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.4228, allocations: 113.3 kB / 495.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.4249, allocations: 1.14 MB / 496.8 MB, free: 6.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.4253, allocations: 0.8593 MB / 497.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002465/0.4256, allocations: 55.44 kB / 497.7 MB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-05/0.4257, allocations: 39.42 kB / 497.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.4257, allocations: 0 / 497.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of Templates: time 0.1838/0.6095, allocations: 8.717 MB / 0.4946 GB, free: 107.6 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches