Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 116.4 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 208 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.404/1.404, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 55.91 kB / 359.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2265, allocations: 50.55 MB / 410.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003869/0.2303, allocations: 2.781 MB / 413 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2316, allocations: 0.7439 MB / 413.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2317, allocations: 7.938 kB / 413.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.2319, allocations: 43.56 kB / 413.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.232, allocations: 91.27 kB / 413.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.2324, allocations: 115.7 kB / 414 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.2328, allocations: 382.5 kB / 414.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.233, allocations: 56.7 kB / 414.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.2333, allocations: 163.5 kB / 414.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.2335, allocations: 167.3 kB / 414.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.363e-05/0.2336, allocations: 32 kB / 414.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.2337, allocations: 43.94 kB / 414.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.2337, allocations: 75.69 kB / 414.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.2339, allocations: 163.2 kB / 415 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.2344, allocations: 370.4 kB / 415.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2344, allocations: 4 kB / 415.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.2344, allocations: 3.984 kB / 415.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.2344, allocations: 0 / 415.4 MB, free: 12.2 MB / 334.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.001642/0.2361, allocations: 0.6801 MB / 416.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.2361, allocations: 8.031 kB / 416.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.2363, allocations: 48.73 kB / 416.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.2368, allocations: 274.9 kB / 416.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.2368, allocations: 16.81 kB / 416.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.2369, allocations: 24.31 kB / 416.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008262/0.2377, allocations: 314 kB / 416.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2377, allocations: 0 / 416.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.2377, allocations: 12 kB / 416.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.2377, allocations: 4 kB / 416.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009927/0.2387, allocations: 297.5 kB / 417.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.241, allocations: 0.9649 MB / 418 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.2439, allocations: 0.4903 MB / 418.5 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/0.2445, allocations: 200.7 kB / 418.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.2446, allocations: 0 / 418.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006862/0.2453, allocations: 243.4 kB / 419 MB, free: 8.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.2453, allocations: 4 kB / 419 MB, free: 8.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001643/0.2469, allocations: 473.5 kB / 419.4 MB, free: 7.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.247, allocations: 110.8 kB / 419.5 MB, free: 7.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.2473, allocations: 233 kB / 419.8 MB, free: 7.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.2473, allocations: 37.7 kB / 419.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.2474, allocations: 164.3 kB / 420 MB, free: 7.406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.129e-05/0.2475, allocations: 71.38 kB / 420 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.2476, allocations: 53.92 kB / 420.1 MB, free: 7.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2478, allocations: 330.8 kB / 420.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.2483, allocations: 144.4 kB / 420.5 MB, free: 6.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000508/0.2488, allocations: 180.2 kB / 420.7 MB, free: 6.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.2497, allocations: 320.7 kB / 421 MB, free: 6.289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2497, allocations: 0 / 421 MB, free: 6.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001155/0.2509, allocations: 411 kB / 421.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/0.2509, allocations: 45.62 kB / 421.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2509, allocations: 0 / 421.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.251, allocations: 0 / 421.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.2527, allocations: 267.6 kB / 421.7 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004984/0.2577, allocations: 3.44 MB / 425.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.2581, allocations: 63.88 kB / 425.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.2582, allocations: 12 kB / 425.3 MB, free: 1.773 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.0001978/0.2584, allocations: 145.6 kB / 425.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.2584, allocations: 31.81 kB / 425.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.634e-05/0.2585, allocations: 26.17 kB / 425.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2585, allocations: 4 kB / 425.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.2585, allocations: 4 kB / 425.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2585, allocations: 3.938 kB / 425.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.2603, allocations: 0.8959 MB / 426.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.2603, allocations: 12.05 kB / 426.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.2621, allocations: 255.7 kB / 426.6 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.2621, allocations: 4 kB / 426.6 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.2621, allocations: 3.984 kB / 426.6 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005111/0.2672, allocations: 3.455 MB / 430.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2672, allocations: 0 / 430.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.2689, allocations: 0.6053 MB / 430.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.2689, allocations: 108.9 kB / 430.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.269, allocations: 12 kB / 430.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.2693, allocations: 35.95 kB / 430.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.462e-05/0.2694, allocations: 27.97 kB / 430.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.2695, allocations: 7.984 kB / 430.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.2696, allocations: 172.5 kB / 431.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2696, allocations: 8 kB / 431.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005155/0.2702, allocations: 79.89 kB / 431.1 MB, free: 11.51 MB / 350.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.0001508/0.2703, allocations: 107.2 kB / 431.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002593/0.2729, allocations: 0.5652 MB / 431.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2729, allocations: 0 / 431.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.2749, allocations: 379.7 kB / 432.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.2753, allocations: 48.31 kB / 432.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.2771, allocations: 0.6947 MB / 432.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.2775, allocations: 0.748 MB / 433.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.2776, allocations: 29.94 kB / 433.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.2777, allocations: 27.36 kB / 433.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of SimCode: time 1.402e-06/0.2777, allocations: 0 / 433.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of Templates: time 0.008555/0.2863, allocations: 3.866 MB / 437.6 MB, free: 5.008 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches