Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 47.92 kB / 370.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2406, allocations: 52.19 MB / 422.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004092/0.2447, allocations: 2.76 MB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.246, allocations: 0.7128 MB / 426.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.2461, allocations: 4 kB / 426.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.2463, allocations: 43.56 kB / 426.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.2464, allocations: 87.27 kB / 426.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.2467, allocations: 107.7 kB / 426.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.2471, allocations: 378.5 kB / 426.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.2473, allocations: 60.89 kB / 426.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.2476, allocations: 151.5 kB / 426.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.2478, allocations: 175.3 kB / 427.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.366e-05/0.2479, allocations: 32 kB / 427.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.551e-05/0.2479, allocations: 36 kB / 427.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.248, allocations: 59.83 kB / 427.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.2482, allocations: 163.2 kB / 427.4 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.2486, allocations: 363 kB / 427.7 MB, free: 9.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2486, allocations: 3.938 kB / 427.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2486, allocations: 4 kB / 427.7 MB, free: 9.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2486, allocations: 3.984 kB / 427.7 MB, free: 9.43 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.001666/0.2503, allocations: 0.6048 MB / 428.4 MB, free: 8.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2503, allocations: 8.031 kB / 428.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.112e-05/0.2504, allocations: 54.73 kB / 428.4 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.2505, allocations: 32.75 kB / 428.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.2509, allocations: 214.8 kB / 428.7 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.2509, allocations: 16.81 kB / 428.7 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.251, allocations: 24.33 kB / 428.7 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007992/0.2518, allocations: 309.8 kB / 429 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2518, allocations: 4 kB / 429 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.2518, allocations: 12 kB / 429 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.2518, allocations: 7.984 kB / 429 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009252/0.2527, allocations: 289.5 kB / 429.3 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.2546, allocations: 0.9211 MB / 430.2 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.2576, allocations: 486.2 kB / 430.7 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.2582, allocations: 196.7 kB / 430.9 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.2582, allocations: 4 kB / 430.9 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006247/0.2589, allocations: 241.7 kB / 431.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.023e-06/0.2589, allocations: 0 / 431.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001486/0.2603, allocations: 457.6 kB / 431.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.546e-05/0.2604, allocations: 114.7 kB / 431.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.2607, allocations: 229 kB / 431.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.2607, allocations: 29.7 kB / 431.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.2608, allocations: 168.4 kB / 432.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.499e-05/0.2609, allocations: 67.42 kB / 432.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.261, allocations: 57.81 kB / 432.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2612, allocations: 338.8 kB / 432.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.2616, allocations: 136.4 kB / 432.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.2621, allocations: 178.1 kB / 432.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008702/0.263, allocations: 308.1 kB / 433.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.263, allocations: 0 / 433.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001072/0.264, allocations: 414.7 kB / 433.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.2641, allocations: 36.98 kB / 433.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2641, allocations: 0 / 433.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2641, allocations: 4 kB / 433.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.2659, allocations: 239.8 kB / 433.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/0.2706, allocations: 3.19 MB / 437 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.2711, allocations: 59.95 kB / 437.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.2711, allocations: 4 kB / 437.1 MB, free: 15.56 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.0001872/0.2713, allocations: 148.3 kB / 437.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.2713, allocations: 23.86 kB / 437.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.389e-05/0.2714, allocations: 30.12 kB / 437.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2714, allocations: 0 / 437.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2714, allocations: 4 kB / 437.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.2714, allocations: 7.984 kB / 437.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.2732, allocations: 0.8612 MB / 438.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2732, allocations: 7.938 kB / 438.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/0.2749, allocations: 231.7 kB / 438.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2749, allocations: 0 / 438.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.275, allocations: 11.98 kB / 438.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004687/0.2797, allocations: 3.205 MB / 441.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.2797, allocations: 12.17 kB / 441.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.2811, allocations: 0.5855 MB / 442.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.2812, allocations: 31.77 kB / 442.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.2812, allocations: 11.94 kB / 442.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.2815, allocations: 36.02 kB / 442.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.2816, allocations: 31.95 kB / 442.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.2817, allocations: 7.984 kB / 442.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.2818, allocations: 172.5 kB / 442.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2818, allocations: 0 / 442.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004737/0.2823, allocations: 79.95 kB / 442.6 MB, free: 9.773 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.001869/0.2842, allocations: 1.154 MB / 443.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002579/0.2867, allocations: 0.5185 MB / 444.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2867, allocations: 0 / 444.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.2888, allocations: 355.7 kB / 444.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.2892, allocations: 43.62 kB / 444.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/0.295, allocations: 3.146 MB / 447.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.2954, allocations: 0.7518 MB / 448.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.2955, allocations: 25.95 kB / 448.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.2957, allocations: 79.41 kB / 448.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.2957, allocations: 0 / 448.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/0.3344, allocations: 6.566 MB / 455.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.91, allocations: 3.875 kB / 455.2 MB, free: 13.12 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.324883193941787]