Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 111.8 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 190.9 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 49.33 kB / 302.1 MB, free: 5.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09146, allocations: 49.44 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003728/0.09522, allocations: 2.73 MB / 354.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.09636, allocations: 0.6973 MB / 354.9 MB, free: 236 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.09649, allocations: 8 kB / 354.9 MB, free: 228 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.09665, allocations: 43.56 kB / 355 MB, free: 184 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.09681, allocations: 83.2 kB / 355.1 MB, free: 100 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.0971, allocations: 99.81 kB / 355.1 MB, free: 0 / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.09748, allocations: 382.5 kB / 355.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.09765, allocations: 88.56 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.09786, allocations: 155.4 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.09807, allocations: 163.3 kB / 355.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.09813, allocations: 40 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.163e-05/0.09818, allocations: 32 kB / 356 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.09826, allocations: 71.8 kB / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.09841, allocations: 159.2 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.09873, allocations: 354.8 kB / 356.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.09875, allocations: 4 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09876, allocations: 3.938 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.09877, allocations: 0 / 356.6 MB, free: 14.57 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.001453/0.1002, allocations: 0.6765 MB / 357.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1003, allocations: 11.89 kB / 357.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.1003, allocations: 36.56 kB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.1007, allocations: 264.8 kB / 357.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.1007, allocations: 16.81 kB / 357.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.1008, allocations: 16.38 kB / 357.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.1015, allocations: 314 kB / 357.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1015, allocations: 4 kB / 357.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.1016, allocations: 15.98 kB / 357.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.1016, allocations: 4 kB / 357.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008821/0.1025, allocations: 289.5 kB / 358.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.1041, allocations: 0.9686 MB / 359.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/0.107, allocations: 498.2 kB / 359.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006044/0.1076, allocations: 208.7 kB / 359.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.1077, allocations: 7.938 kB / 359.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005774/0.1083, allocations: 237.7 kB / 360.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.794e-06/0.1083, allocations: 0 / 360.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001419/0.1097, allocations: 461.4 kB / 360.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.1098, allocations: 106.8 kB / 360.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.11, allocations: 237 kB / 360.9 MB, free: 10 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.1101, allocations: 29.7 kB / 360.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1102, allocations: 164.1 kB / 361.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.1103, allocations: 71 kB / 361.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.1104, allocations: 49.88 kB / 361.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1105, allocations: 334.8 kB / 361.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/0.111, allocations: 140.4 kB / 361.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.1115, allocations: 173.4 kB / 361.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008911/0.1124, allocations: 312.1 kB / 362.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1124, allocations: 4 kB / 362.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001076/0.1135, allocations: 402.8 kB / 362.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.1135, allocations: 41.62 kB / 362.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1135, allocations: 0 / 362.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1135, allocations: 0 / 362.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.1153, allocations: 243.7 kB / 362.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004564/0.1199, allocations: 3.392 MB / 366.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.1203, allocations: 55.64 kB / 366.3 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.1204, allocations: 12.09 kB / 366.3 MB, free: 4.277 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.0001708/0.1205, allocations: 149.7 kB / 366.4 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.1206, allocations: 19.81 kB / 366.4 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.4e-05/0.1207, allocations: 30.17 kB / 366.5 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1207, allocations: 4 kB / 366.5 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1207, allocations: 0 / 366.5 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1207, allocations: 3.984 kB / 366.5 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.1224, allocations: 0.8959 MB / 367.4 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.1225, allocations: 0 / 367.4 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.1242, allocations: 235.7 kB / 367.6 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.1242, allocations: 7.922 kB / 367.6 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.1243, allocations: 8 kB / 367.6 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1609/0.2852, allocations: 3.396 MB / 371 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2852, allocations: 4.297 kB / 371 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.2869, allocations: 0.5941 MB / 371.6 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.287, allocations: 99.58 kB / 371.7 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.287, allocations: 7.375 kB / 371.7 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.2874, allocations: 41.69 kB / 371.7 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.2875, allocations: 36.39 kB / 371.8 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.2876, allocations: 6.297 kB / 371.8 MB, free: 24.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.2877, allocations: 168.9 kB / 372 MB, free: 24.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2878, allocations: 0.9062 kB / 372 MB, free: 24.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005324/0.2883, allocations: 83.02 kB / 372 MB, free: 24.04 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.0001332/0.2884, allocations: 110.6 kB / 372.1 MB, free: 23.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002743/0.2912, allocations: 0.5332 MB / 372.7 MB, free: 23.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2912, allocations: 1.312 kB / 372.7 MB, free: 23.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002145/0.2934, allocations: 353.9 kB / 373 MB, free: 23.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.2939, allocations: 43.58 kB / 373.1 MB, free: 23.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.2956, allocations: 0.6728 MB / 373.7 MB, free: 23.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.2958, allocations: 0.7526 MB / 374.5 MB, free: 22.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.2959, allocations: 26.38 kB / 374.5 MB, free: 22.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.296, allocations: 19.83 kB / 374.5 MB, free: 22.92 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.296, allocations: 3.828 kB / 374.5 MB, free: 22.92 MB / 302.1 MB Notification: Performance of Templates: time 0.008421/0.3044, allocations: 3.779 MB / 378.3 MB, free: 22.71 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches