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.001312/0.001312, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 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.00151/0.00151, allocations: 210.2 kB / 24.53 MB, free: 4.07 MB / 14.72 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.492/1.492, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 59.91 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2638, allocations: 53.41 MB / 432 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004092/0.2679, allocations: 2.801 MB / 434.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.2693, allocations: 0.7595 MB / 435.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.2694, allocations: 7.938 kB / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.2696, allocations: 43.56 kB / 435.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.2698, allocations: 91.27 kB / 435.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.2701, allocations: 115.7 kB / 435.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.2706, allocations: 382.5 kB / 436.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.2708, allocations: 60.88 kB / 436.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.2711, allocations: 159.5 kB / 436.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.2713, allocations: 175.3 kB / 436.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.2714, allocations: 32 kB / 436.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.605e-05/0.2715, allocations: 36 kB / 436.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.2716, allocations: 79.69 kB / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.2718, allocations: 159.2 kB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.2724, allocations: 375.6 kB / 437.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2724, allocations: 0 / 437.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2724, allocations: 0 / 437.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2724, allocations: 4 kB / 437.2 MB, free: 1.691 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.001561/0.2739, allocations: 0.6125 MB / 437.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.274, allocations: 8.031 kB / 437.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.075e-05/0.274, allocations: 12.62 kB / 437.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.75e-05/0.2741, allocations: 58.72 kB / 437.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.2742, allocations: 36.75 kB / 437.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.2747, allocations: 221 kB / 438.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.2747, allocations: 12.81 kB / 438.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.2748, allocations: 24.33 kB / 438.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008207/0.2756, allocations: 317.7 kB / 438.5 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2756, allocations: 0 / 438.5 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.2756, allocations: 12 kB / 438.5 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2757, allocations: 4 kB / 438.5 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009689/0.2766, allocations: 301.5 kB / 438.8 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.2784, allocations: 0.9288 MB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.2813, allocations: 490.2 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006367/0.2819, allocations: 196.7 kB / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.2819, allocations: 4 kB / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007167/0.2826, allocations: 253 kB / 440.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.2826, allocations: 0 / 440.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001603/0.2842, allocations: 476.3 kB / 441.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/0.2843, allocations: 110.8 kB / 441.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.2846, allocations: 237.1 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.2846, allocations: 29.7 kB / 441.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2848, allocations: 168.4 kB / 441.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.285e-05/0.2848, allocations: 75.31 kB / 441.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.285, allocations: 49.92 kB / 441.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2851, allocations: 330.8 kB / 442.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.2856, allocations: 144.3 kB / 442.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005094/0.2861, allocations: 184.2 kB / 442.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.2871, allocations: 320.7 kB / 442.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2871, allocations: 0 / 442.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001127/0.2882, allocations: 414.9 kB / 443.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.2882, allocations: 40.2 kB / 443.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2882, allocations: 0 / 443.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2883, allocations: 4 kB / 443.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.29, allocations: 271.6 kB / 443.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004907/0.2949, allocations: 3.224 MB / 446.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.2953, allocations: 60.02 kB / 446.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.2953, allocations: 8 kB / 446.7 MB, free: 7.66 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.0001867/0.2955, allocations: 145.7 kB / 446.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.2956, allocations: 23.86 kB / 446.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855e-05/0.2957, allocations: 34.11 kB / 446.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2957, allocations: 7.938 kB / 447 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2957, allocations: 0 / 447 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.2957, allocations: 7.984 kB / 447 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.2978, allocations: 0.8794 MB / 447.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2978, allocations: 4 kB / 447.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.2995, allocations: 255.7 kB / 448.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.2995, allocations: 7.922 kB / 448.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.2996, allocations: 12 kB / 448.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00487/0.3044, allocations: 3.224 MB / 451.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3044, allocations: 4.031 kB / 451.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.3061, allocations: 0.6131 MB / 452 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.3061, allocations: 27.81 kB / 452 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.3062, allocations: 8 kB / 452 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.3065, allocations: 39.95 kB / 452 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/0.3066, allocations: 23.95 kB / 452.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.3066, allocations: 16.05 kB / 452.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.3068, allocations: 172.5 kB / 452.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3068, allocations: 0 / 452.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004791/0.3073, allocations: 79.89 kB / 452.3 MB, free: 1.781 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.001952/0.3092, allocations: 1.163 MB / 453.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002544/0.3118, allocations: 0.5565 MB / 454 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3118, allocations: 0 / 454 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.3138, allocations: 375.8 kB / 454.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.3143, allocations: 48.38 kB / 454.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006166/0.3204, allocations: 3.187 MB / 457.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.3209, allocations: 0.7518 MB / 458.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.321, allocations: 25.94 kB / 458.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.3212, allocations: 87.33 kB / 458.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 1.804e-06/0.3212, allocations: 0 / 458.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.3509, allocations: 6.708 MB / 465.2 MB, free: 4.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.96, allocations: 4 kB / 465.2 MB, free: 4.852 MB / 366.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_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: 15.676708124985453]