Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001447/0.001447, allocations: 112.2 kB / 21.22 MB, free: 0.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.001324/0.001324, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.351/1.351, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 55.94 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2441, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004047/0.2481, allocations: 2.799 MB / 434.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2494, allocations: 0.7594 MB / 435.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.2495, allocations: 4 kB / 435.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.2497, allocations: 39.58 kB / 435.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.2498, allocations: 91.2 kB / 435.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.2501, allocations: 115.8 kB / 435.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000423/0.2506, allocations: 394.4 kB / 436.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.2507, allocations: 58.59 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.251, allocations: 159.5 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.2512, allocations: 171.3 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.2513, allocations: 40 kB / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-05/0.2514, allocations: 36 kB / 436.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.2514, allocations: 71.73 kB / 436.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.2516, allocations: 159.2 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.2521, allocations: 378.5 kB / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2521, allocations: 0 / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2521, allocations: 0 / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.2521, allocations: 0 / 437.2 MB, free: 1.617 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.001523/0.2536, allocations: 0.6164 MB / 437.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2536, allocations: 12.03 kB / 437.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.821e-05/0.2536, allocations: 4.625 kB / 437.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.054e-05/0.2537, allocations: 54.73 kB / 437.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.2539, allocations: 40.73 kB / 437.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.2542, allocations: 217.1 kB / 438.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.2542, allocations: 20.81 kB / 438.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.2543, allocations: 20.33 kB / 438.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007497/0.255, allocations: 313.7 kB / 438.4 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2551, allocations: 0 / 438.4 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.2551, allocations: 8 kB / 438.5 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2551, allocations: 11.94 kB / 438.5 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009579/0.2561, allocations: 297.6 kB / 438.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.258, allocations: 0.9327 MB / 439.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.2609, allocations: 498.1 kB / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006349/0.2616, allocations: 200.7 kB / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.2616, allocations: 7.922 kB / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006509/0.2622, allocations: 247.8 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.2622, allocations: 4 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001794/0.264, allocations: 472.7 kB / 441.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/0.2641, allocations: 110.8 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.2644, allocations: 241 kB / 441.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.2644, allocations: 29.7 kB / 441.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2645, allocations: 156.5 kB / 441.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.2646, allocations: 79.31 kB / 441.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.2647, allocations: 45.94 kB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2649, allocations: 334.8 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004841/0.2654, allocations: 140.4 kB / 442.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.2659, allocations: 188.2 kB / 442.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009398/0.2668, allocations: 320.1 kB / 442.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2668, allocations: 0 / 442.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001163/0.268, allocations: 414.8 kB / 443.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.053e-05/0.2681, allocations: 33.7 kB / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2681, allocations: 0 / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2681, allocations: 64 / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.2698, allocations: 267.6 kB / 443.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005042/0.2748, allocations: 3.248 MB / 446.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.2753, allocations: 51.88 kB / 446.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.2754, allocations: 15.92 kB / 446.7 MB, free: 7.566 MB / 350.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.0002314/0.2756, allocations: 141.7 kB / 446.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.2756, allocations: 27.92 kB / 446.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.723e-05/0.2757, allocations: 34.11 kB / 446.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2757, allocations: 0 / 446.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2757, allocations: 4 kB / 446.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2757, allocations: 0 / 446.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.2777, allocations: 0.8768 MB / 447.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2777, allocations: 0 / 447.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.2794, allocations: 263.7 kB / 448 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2794, allocations: 0 / 448 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.2794, allocations: 11.98 kB / 448.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004786/0.2842, allocations: 3.232 MB / 451.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2842, allocations: 0 / 451.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.2858, allocations: 0.613 MB / 451.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.2859, allocations: 27.83 kB / 451.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.2859, allocations: 7.984 kB / 451.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.2863, allocations: 43.95 kB / 452 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.2864, allocations: 35.95 kB / 452 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.2864, allocations: 4 kB / 452 MB, free: 1.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.2865, allocations: 176.4 kB / 452.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2865, allocations: 0 / 452.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000495/0.287, allocations: 79.89 kB / 452.3 MB, free: 1.688 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.001922/0.289, allocations: 1.167 MB / 453.4 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.2915, allocations: 0.5538 MB / 454 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2915, allocations: 4 kB / 454 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002/0.2935, allocations: 383.7 kB / 454.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.2939, allocations: 28.42 kB / 454.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005852/0.2998, allocations: 3.184 MB / 457.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.3001, allocations: 0.7595 MB / 458.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.3003, allocations: 21.95 kB / 458.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.3004, allocations: 83.41 kB / 458.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3004, allocations: 0 / 458.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.3305, allocations: 6.712 MB / 465.2 MB, free: 4.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.52, allocations: 4.062 kB / 465.2 MB, free: 4.805 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_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: 15.01252765103709]