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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001898/0.001898, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002545/0.002545, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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=5032,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=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.76e-05, allocations: 6.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.0043/0.004328, allocations: 2.596 MB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.006053, allocations: 0.7205 MB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.006194, allocations: 11.94 kB / 275.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.006343, allocations: 35.64 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.006541, allocations: 91.14 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.006919, allocations: 119.7 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.007394, allocations: 402.2 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.007547, allocations: 52.89 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.007933, allocations: 227.5 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.008159, allocations: 131.7 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.008218, allocations: 32 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.989e-05/0.008308, allocations: 43.92 kB / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.113e-05/0.008389, allocations: 71.75 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.008547, allocations: 111.7 kB / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.009055, allocations: 394.8 kB / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.009058, allocations: 0 / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.009059, allocations: 0 / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.009064, allocations: 0 / 277.2 MB, free: 12.74 MB / 266.7 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.001681/0.01075, allocations: 0.6165 MB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.01079, allocations: 15.98 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.01102, allocations: 52.73 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.01145, allocations: 216.8 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.01147, allocations: 12.88 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.01154, allocations: 28.33 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008451/0.01238, allocations: 340.9 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.01239, allocations: 192 / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.01243, allocations: 16.36 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.01244, allocations: 7.938 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009896/0.01343, allocations: 301.8 kB / 278.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.01526, allocations: 0.817 MB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003215/0.01847, allocations: 0.4942 MB / 280.1 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006996/0.01917, allocations: 200.7 kB / 280.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.0192, allocations: 4 kB / 280.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000711/0.01991, allocations: 267.4 kB / 280.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.01992, allocations: 0 / 280.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001704/0.02162, allocations: 476.8 kB / 281 MB, free: 8.746 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.007e-05/0.02171, allocations: 110.8 kB / 281.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.02201, allocations: 237.8 kB / 281.4 MB, free: 8.375 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.02205, allocations: 33.7 kB / 281.4 MB, free: 8.336 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.0222, allocations: 164.4 kB / 281.6 MB, free: 8.172 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.238e-05/0.02228, allocations: 71.39 kB / 281.6 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.0224, allocations: 45.94 kB / 281.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.02259, allocations: 334.8 kB / 282 MB, free: 7.715 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007428/0.02333, allocations: 174 kB / 282.2 MB, free: 7.539 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.0239, allocations: 227.7 kB / 282.4 MB, free: 7.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.02492, allocations: 324 kB / 282.7 MB, free: 6.961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.02493, allocations: 8 kB / 282.7 MB, free: 6.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001263/0.02619, allocations: 440.6 kB / 283.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.02624, allocations: 45.75 kB / 283.2 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.02625, allocations: 0 / 283.2 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.02628, allocations: 4 kB / 283.2 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.02826, allocations: 263.6 kB / 283.5 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005568/0.03383, allocations: 3.19 MB / 286.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.03427, allocations: 51.88 kB / 286.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.03431, allocations: 8 kB / 286.7 MB, free: 2.746 MB / 266.7 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.000201/0.03451, allocations: 137.8 kB / 286.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.03458, allocations: 35.78 kB / 286.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.343e-05/0.03466, allocations: 30.12 kB / 286.9 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.03466, allocations: 8 kB / 286.9 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.03467, allocations: 7.984 kB / 286.9 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.03467, allocations: 0 / 286.9 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.03661, allocations: 0.7953 MB / 287.7 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.03661, allocations: 64 / 287.7 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/0.03854, allocations: 271.5 kB / 288 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.03855, allocations: 0 / 288 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.03858, allocations: 8 kB / 288 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005602/0.04418, allocations: 3.183 MB / 291.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.04418, allocations: 4.062 kB / 291.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.04592, allocations: 0.6133 MB / 291.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.04598, allocations: 31.77 kB / 291.8 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.04603, allocations: 8 kB / 291.8 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.0464, allocations: 39.94 kB / 291.9 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.04651, allocations: 27.95 kB / 291.9 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.04654, allocations: 8 kB / 291.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.04675, allocations: 169.2 kB / 292.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04675, allocations: 4.062 kB / 292.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005024/0.04725, allocations: 83.89 kB / 292.2 MB, free: 13.02 MB / 282.7 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.0001472/0.0474, allocations: 99.19 kB / 292.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002817/0.05022, allocations: 0.5983 MB / 292.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.05022, allocations: 0 / 292.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.05246, allocations: 375.8 kB / 293.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.05288, allocations: 51.67 kB / 293.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.05465, allocations: 0.6423 MB / 293.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.05481, allocations: 146.2 kB / 294.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.05492, allocations: 17.95 kB / 294.1 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.05501, allocations: 20.5 kB / 294.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.05501, allocations: 0 / 294.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of Templates: time 0.009076/0.06409, allocations: 3.979 MB / 298.1 MB, free: 7.074 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5704208209645]