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.0012/0.0012, allocations: 111.9 kB / 17.74 MB, free: 5.359 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.001232/0.001232, allocations: 189.5 kB / 18.67 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.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 43.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2758, allocations: 49.42 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004197/0.2801, allocations: 2.743 MB / 404.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2814, allocations: 0.705 MB / 404.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.2815, allocations: 3.938 kB / 404.8 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.2817, allocations: 35.64 kB / 404.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.2819, allocations: 87.19 kB / 405 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.2822, allocations: 107.8 kB / 405.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.2826, allocations: 382.5 kB / 405.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.2828, allocations: 80.69 kB / 405.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.2831, allocations: 155.5 kB / 405.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.2833, allocations: 167.3 kB / 405.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.2834, allocations: 32 kB / 405.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.633e-05/0.2834, allocations: 36 kB / 405.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.2835, allocations: 67.75 kB / 406 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.2837, allocations: 155.2 kB / 406.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.284, allocations: 360 kB / 406.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.284, allocations: 0 / 406.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.284, allocations: 3.938 kB / 406.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.284, allocations: 0 / 406.5 MB, free: 3.781 MB / 318.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.001537/0.2856, allocations: 0.6765 MB / 407.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.2857, allocations: 11.89 kB / 407.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.996e-05/0.2857, allocations: 36.5 kB / 407.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.2861, allocations: 268.8 kB / 407.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.2862, allocations: 16.81 kB / 407.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.2862, allocations: 16.38 kB / 407.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.2869, allocations: 310 kB / 407.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.287, allocations: 0 / 407.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.287, allocations: 12 kB / 407.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.287, allocations: 4 kB / 407.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008703/0.2879, allocations: 301.5 kB / 408.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.2896, allocations: 0.9646 MB / 409.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.2925, allocations: 490.2 kB / 409.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/0.2931, allocations: 211.6 kB / 409.8 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.2932, allocations: 3.938 kB / 409.8 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005971/0.2938, allocations: 247.2 kB / 410 MB, free: 48 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 3.607e-06/0.2938, allocations: 3.984 kB / 410 MB, free: 44 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001456/0.2953, allocations: 457.4 kB / 410.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.2954, allocations: 114.8 kB / 410.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.2956, allocations: 225 kB / 410.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.2956, allocations: 33.73 kB / 410.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.2958, allocations: 172 kB / 411 MB, free: 15.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.2958, allocations: 63.11 kB / 411.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.2959, allocations: 49.83 kB / 411.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2961, allocations: 334.8 kB / 411.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.2965, allocations: 140.4 kB / 411.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.297, allocations: 180.9 kB / 411.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/0.2978, allocations: 308 kB / 412 MB, free: 13.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2979, allocations: 0 / 412 MB, free: 13.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001021/0.2989, allocations: 406.8 kB / 412.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.2989, allocations: 41.64 kB / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.299, allocations: 0 / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.299, allocations: 4 kB / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.3007, allocations: 243.6 kB / 412.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00469/0.3055, allocations: 3.388 MB / 416.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.3059, allocations: 47.83 kB / 416.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.3059, allocations: 8 kB / 416.2 MB, free: 9.5 MB / 334.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.0001832/0.3061, allocations: 145.9 kB / 416.3 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.3062, allocations: 23.72 kB / 416.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.3062, allocations: 26.19 kB / 416.4 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.3062, allocations: 7.984 kB / 416.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3062, allocations: 0 / 416.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3062, allocations: 3.984 kB / 416.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.3079, allocations: 0.9038 MB / 417.3 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.3079, allocations: 7.938 kB / 417.3 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/0.3096, allocations: 227.8 kB / 417.5 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.3097, allocations: 7.938 kB / 417.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.3097, allocations: 4 kB / 417.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004522/0.3142, allocations: 3.412 MB / 420.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3142, allocations: 4.031 kB / 420.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.3157, allocations: 0.5929 MB / 421.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/0.3158, allocations: 108.8 kB / 421.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.3158, allocations: 7.938 kB / 421.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.3162, allocations: 39.95 kB / 421.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3163, allocations: 23.97 kB / 421.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.3163, allocations: 8 kB / 421.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.3165, allocations: 172.5 kB / 421.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3165, allocations: 0 / 421.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004715/0.3169, allocations: 83.84 kB / 422 MB, free: 3.328 MB / 334.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.0001373/0.3171, allocations: 114.8 kB / 422.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.3196, allocations: 0.5341 MB / 422.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3196, allocations: 0 / 422.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.3215, allocations: 351.7 kB / 422.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.322, allocations: 56.25 kB / 423 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.3237, allocations: 0.6981 MB / 423.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.324, allocations: 0.7519 MB / 424.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3241, allocations: 23.42 kB / 424.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of SimCode: time 2.395e-06/0.3241, allocations: 0 / 424.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of Templates: time 0.007605/0.3317, allocations: 5.476 MB / 430 MB, free: 11.25 MB / 350.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 -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