Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 83.55 kB / 21.99 MB, free: 4.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 153.8 kB / 25.24 MB, free: 2.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 158.6 MB / 187 MB, free: 6.344 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 55.92 kB / 299.4 MB, free: 6.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2357, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004167/0.2399, allocations: 2.518 MB / 351 MB, free: 13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.2414, allocations: 0.7058 MB / 351.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.2415, allocations: 4 kB / 351.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.2416, allocations: 43.56 kB / 351.8 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.2418, allocations: 91.2 kB / 351.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.2422, allocations: 107.8 kB / 352 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004396/0.2426, allocations: 374.5 kB / 352.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.2428, allocations: 68.53 kB / 352.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.2431, allocations: 155.4 kB / 352.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.2433, allocations: 147.4 kB / 352.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.513e-05/0.2434, allocations: 35.94 kB / 352.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.878e-05/0.2434, allocations: 36 kB / 352.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.324e-05/0.2435, allocations: 67.81 kB / 352.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.2437, allocations: 135.4 kB / 353 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.2441, allocations: 365 kB / 353.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2441, allocations: 0 / 353.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2441, allocations: 0 / 353.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.2441, allocations: 0 / 353.3 MB, free: 10.69 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.001639/0.2458, allocations: 0.6009 MB / 353.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2458, allocations: 15.98 kB / 353.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.516e-05/0.2459, allocations: 32.75 kB / 354 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.2463, allocations: 215.1 kB / 354.2 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.2463, allocations: 16.88 kB / 354.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.2464, allocations: 24.36 kB / 354.2 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008198/0.2472, allocations: 336.6 kB / 354.5 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.2472, allocations: 7.984 kB / 354.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.2473, allocations: 8 kB / 354.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.2473, allocations: 4 kB / 354.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.2483, allocations: 289.8 kB / 354.9 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.25, allocations: 0.8247 MB / 355.7 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/0.2531, allocations: 486.1 kB / 356.2 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/0.2538, allocations: 204.7 kB / 356.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.2538, allocations: 4 kB / 356.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006924/0.2545, allocations: 263.8 kB / 356.6 MB, free: 7.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/0.2545, allocations: 0 / 356.6 MB, free: 7.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001653/0.2561, allocations: 461.2 kB / 357.1 MB, free: 6.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.2562, allocations: 114.8 kB / 357.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.2565, allocations: 233.7 kB / 357.4 MB, free: 6.398 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.2565, allocations: 33.64 kB / 357.4 MB, free: 6.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.2566, allocations: 156.4 kB / 357.6 MB, free: 6.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.2567, allocations: 71.42 kB / 357.7 MB, free: 6.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2568, allocations: 45.94 kB / 357.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.257, allocations: 330.8 kB / 358 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/0.2575, allocations: 170.1 kB / 358.2 MB, free: 5.578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/0.2581, allocations: 231.7 kB / 358.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/0.259, allocations: 320 kB / 358.7 MB, free: 5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.259, allocations: 0 / 358.7 MB, free: 5 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001226/0.2603, allocations: 432.7 kB / 359.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.2603, allocations: 37.69 kB / 359.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2603, allocations: 3.938 kB / 359.2 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2603, allocations: 4 kB / 359.2 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.2622, allocations: 235.7 kB / 359.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004987/0.2671, allocations: 3.136 MB / 362.6 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.2676, allocations: 52.09 kB / 362.6 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.2676, allocations: 19.92 kB / 362.6 MB, free: 0.8711 MB / 318.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.0001972/0.2678, allocations: 137.7 kB / 362.8 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.2679, allocations: 27.8 kB / 362.8 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.17e-05/0.268, allocations: 30.11 kB / 362.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.268, allocations: 4 kB / 362.8 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.268, allocations: 4 kB / 362.8 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.268, allocations: 0 / 362.8 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.2699, allocations: 0.7953 MB / 363.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/0.2699, allocations: 7.938 kB / 363.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/0.2717, allocations: 227.7 kB / 363.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.2717, allocations: 4 kB / 363.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.2717, allocations: 7.984 kB / 363.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005054/0.2767, allocations: 3.147 MB / 367 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2767, allocations: 3.984 kB / 367 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.2784, allocations: 0.6032 MB / 367.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.2785, allocations: 23.81 kB / 367.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.2785, allocations: 8 kB / 367.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.2789, allocations: 44.02 kB / 367.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.279, allocations: 27.95 kB / 367.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.279, allocations: 8 kB / 367.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.2792, allocations: 165.2 kB / 367.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2792, allocations: 0 / 367.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005087/0.2797, allocations: 83.89 kB / 368 MB, free: 11.25 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.0001613/0.2798, allocations: 107.1 kB / 368.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002678/0.2825, allocations: 0.5552 MB / 368.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2825, allocations: 0 / 368.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002095/0.2846, allocations: 343.8 kB / 369 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.285, allocations: 36.81 kB / 369 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.2871, allocations: 0.689 MB / 369.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.2873, allocations: 142.2 kB / 369.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.2874, allocations: 25.94 kB / 369.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.2875, allocations: 24.5 kB / 369.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2875, allocations: 0 / 369.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of Templates: time 0.009001/0.2965, allocations: 3.901 MB / 373.8 MB, free: 5.352 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.560605701990426]