Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001391, allocations: 117 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001662/0.001662, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.09 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1053, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004784/0.1102, allocations: 2.771 MB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.1121, allocations: 0.7518 MB / 362.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.1124, allocations: 7.938 kB / 362.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.1127, allocations: 43.58 kB / 362.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.1129, allocations: 83.27 kB / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.1135, allocations: 119.7 kB / 362.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000485/0.114, allocations: 382.5 kB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.1142, allocations: 84.69 kB / 363.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003619/0.1146, allocations: 163.4 kB / 363.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.1148, allocations: 171.3 kB / 363.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.1149, allocations: 32 kB / 363.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.27e-05/0.115, allocations: 36 kB / 363.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.675e-05/0.1151, allocations: 75.73 kB / 363.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.1153, allocations: 155.2 kB / 363.7 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.1158, allocations: 366.8 kB / 364.1 MB, free: 8.133 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1158, allocations: 8 kB / 364.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1158, allocations: 0 / 364.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1158, allocations: 0 / 364.1 MB, free: 8.125 MB / 302.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.001625/0.1175, allocations: 0.6803 MB / 364.8 MB, free: 7.391 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1175, allocations: 12.02 kB / 364.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.1177, allocations: 40.56 kB / 364.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.1181, allocations: 270.8 kB / 365.1 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.1182, allocations: 20.81 kB / 365.1 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.1182, allocations: 28.22 kB / 365.2 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007432/0.119, allocations: 314 kB / 365.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.119, allocations: 0 / 365.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.119, allocations: 12 kB / 365.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.1191, allocations: 4 kB / 365.5 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009269/0.12, allocations: 297.5 kB / 365.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.1218, allocations: 0.957 MB / 366.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/0.1248, allocations: 0.502 MB / 367.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006396/0.1254, allocations: 220.2 kB / 367.4 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.1255, allocations: 0 / 367.4 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006452/0.1261, allocations: 253.1 kB / 367.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.1261, allocations: 0 / 367.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001538/0.1277, allocations: 471.9 kB / 368.1 MB, free: 3.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.1278, allocations: 110.8 kB / 368.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.1281, allocations: 240.9 kB / 368.5 MB, free: 3.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.1281, allocations: 37.7 kB / 368.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.1282, allocations: 156.2 kB / 368.7 MB, free: 3.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/0.1283, allocations: 70.98 kB / 368.8 MB, free: 3.227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1284, allocations: 49.94 kB / 368.8 MB, free: 3.172 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1285, allocations: 330.8 kB / 369.1 MB, free: 2.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004593/0.129, allocations: 148.3 kB / 369.3 MB, free: 2.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.1295, allocations: 177.9 kB / 369.4 MB, free: 2.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008515/0.1303, allocations: 321.8 kB / 369.8 MB, free: 2.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1303, allocations: 3.938 kB / 369.8 MB, free: 2.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001073/0.1314, allocations: 414.8 kB / 370.2 MB, free: 1.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.1315, allocations: 41.64 kB / 370.2 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1315, allocations: 0 / 370.2 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.1315, allocations: 3.984 kB / 370.2 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.1334, allocations: 271.6 kB / 370.5 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1834/0.3167, allocations: 3.429 MB / 373.9 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/0.3172, allocations: 51.3 kB / 374 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.3172, allocations: 7.922 kB / 374 MB, free: 17.71 MB / 302.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.0001698/0.3174, allocations: 144.2 kB / 374.1 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.3175, allocations: 26.75 kB / 374.1 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.511e-05/0.3176, allocations: 31.78 kB / 374.2 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3176, allocations: 6.625 kB / 374.2 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3176, allocations: 4.375 kB / 374.2 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3176, allocations: 1.344 kB / 374.2 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.3194, allocations: 0.9034 MB / 375.1 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3194, allocations: 1.031 kB / 375.1 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/0.3213, allocations: 260.3 kB / 375.3 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.3213, allocations: 3.406 kB / 375.3 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.3213, allocations: 4.047 kB / 375.3 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004106/0.3254, allocations: 3.45 MB / 378.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3255, allocations: 4.656 kB / 378.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.327, allocations: 0.6054 MB / 379.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.3271, allocations: 106.2 kB / 379.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.3271, allocations: 2.578 kB / 379.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.3275, allocations: 45.56 kB / 379.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3276, allocations: 29.73 kB / 379.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.3276, allocations: 7.531 kB / 379.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.3278, allocations: 176.7 kB / 379.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3278, allocations: 3.562 kB / 379.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004795/0.3283, allocations: 79.5 kB / 379.8 MB, free: 13.86 MB / 302.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.0001328/0.3284, allocations: 111.3 kB / 379.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002512/0.331, allocations: 0.5728 MB / 380.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.331, allocations: 1.375 kB / 380.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.3331, allocations: 387.5 kB / 380.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.3335, allocations: 40.47 kB / 380.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.3351, allocations: 0.6776 MB / 381.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.3354, allocations: 0.752 MB / 382.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.3355, allocations: 22.8 kB / 382.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.3356, allocations: 24.27 kB / 382.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3356, allocations: 4.844 kB / 382.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of Templates: time 0.008927/0.3445, allocations: 3.822 MB / 386.2 MB, free: 12.18 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches