Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.0009205/0.0009205, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.000913/0.000913, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8978/0.8978, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.553e-05, allocations: 2.281 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004582/0.004608, allocations: 3.671 MB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.006677, allocations: 1.554 MB / 329.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.006916, allocations: 11.94 kB / 329.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000638/0.007554, allocations: 262.6 kB / 330.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004524/0.008006, allocations: 313.9 kB / 330.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.008416, allocations: 267.2 kB / 330.6 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007855/0.009202, allocations: 0.7626 MB / 331.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.009381, allocations: 109.5 kB / 331.5 MB, free: 8.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003719/0.009753, allocations: 403.1 kB / 331.9 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.009963, allocations: 243.3 kB / 332.1 MB, free: 8.188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.958e-05/0.01001, allocations: 52 kB / 332.2 MB, free: 8.137 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.01016, allocations: 107.9 kB / 332.3 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.01027, allocations: 147.4 kB / 332.4 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.01042, allocations: 203.5 kB / 332.6 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005815/0.011, allocations: 0.7397 MB / 333.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.01101, allocations: 4 kB / 333.4 MB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01101, allocations: 0 / 333.4 MB, free: 6.941 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.01102, allocations: 4 kB / 333.4 MB, free: 6.938 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001155/0.01217, allocations: 0.8849 MB / 334.3 MB, free: 6.016 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.01221, allocations: 8.031 kB / 334.3 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.068e-05/0.01227, allocations: 74.72 kB / 334.4 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.01243, allocations: 80.5 kB / 334.4 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.01282, allocations: 347.5 kB / 334.8 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.01285, allocations: 41.36 kB / 334.8 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.01288, allocations: 36.38 kB / 334.9 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.01337, allocations: 0.5272 MB / 335.4 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.01338, allocations: 0 / 335.4 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.01341, allocations: 16 kB / 335.4 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.01342, allocations: 11.94 kB / 335.4 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.0138, allocations: 315.8 kB / 335.7 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.01526, allocations: 1.564 MB / 337.3 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.01569, allocations: 337.9 kB / 337.6 MB, free: 2.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.01588, allocations: 160.8 kB / 337.8 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.0159, allocations: 7.938 kB / 337.8 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005635/0.01647, allocations: 369.1 kB / 338.1 MB, free: 1.922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.452e-06/0.01647, allocations: 4 kB / 338.1 MB, free: 1.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001139/0.01761, allocations: 0.7158 MB / 338.9 MB, free: 1.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.01767, allocations: 166.2 kB / 339 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.01807, allocations: 0.5057 MB / 339.5 MB, free: 472 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.01809, allocations: 37.7 kB / 339.6 MB, free: 428 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.01823, allocations: 252.8 kB / 339.8 MB, free: 172 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.017e-05/0.0183, allocations: 130.9 kB / 339.9 MB, free: 40 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.0184, allocations: 78.2 kB / 340 MB, free: 15.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.0185, allocations: 362.7 kB / 340.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.01867, allocations: 128.9 kB / 340.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.01892, allocations: 337.5 kB / 340.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.01923, allocations: 269.3 kB / 341.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01924, allocations: 0 / 341.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005307/0.01977, allocations: 485 kB / 341.6 MB, free: 14.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01978, allocations: 8 kB / 341.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01979, allocations: 4 kB / 341.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/0.02011, allocations: 155.3 kB / 341.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.02023, allocations: 47.92 kB / 341.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00336/0.02359, allocations: 6.202 MB / 348 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.0238, allocations: 60.14 kB / 348 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.02382, allocations: 20 kB / 348 MB, free: 7.355 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.02402, allocations: 193 kB / 348.2 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.02407, allocations: 51.67 kB / 348.3 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006393/0.02471, allocations: 0.501 MB / 348.8 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.02471, allocations: 4 kB / 348.8 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.02471, allocations: 0 / 348.8 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.02472, allocations: 3.984 kB / 348.8 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.02506, allocations: 416.3 kB / 349.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02507, allocations: 0 / 349.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.02514, allocations: 23.98 kB / 349.2 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002595/0.0254, allocations: 163.3 kB / 349.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.02541, allocations: 8 kB / 349.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.02838, allocations: 5.916 MB / 355.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.02839, allocations: 4 kB / 355.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/0.029, allocations: 0.5112 MB / 355.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.02913, allocations: 79.56 kB / 355.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.02917, allocations: 8.125 kB / 355.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.02931, allocations: 31.97 kB / 355.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.02942, allocations: 63.83 kB / 356 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.02944, allocations: 12 kB / 356 MB, free: 14.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000297/0.02974, allocations: 367.1 kB / 356.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02974, allocations: 0 / 356.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005778/0.03032, allocations: 171.7 kB / 356.5 MB, free: 14.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001502/0.03182, allocations: 1.406 MB / 357.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007458/0.03256, allocations: 0.7833 MB / 358.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.03257, allocations: 3.938 kB / 358.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006517/0.03322, allocations: 0.6389 MB / 359.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.03358, allocations: 125.9 kB / 359.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.03756, allocations: 4.312 MB / 363.8 MB, free: 6.938 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.03773, allocations: 263.4 kB / 364.1 MB, free: 6.652 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.03787, allocations: 52.17 kB / 364.1 MB, free: 6.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.03802, allocations: 168.4 kB / 364.3 MB, free: 6.43 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.03802, allocations: 8 kB / 364.3 MB, free: 6.422 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.07264, allocations: 15.51 MB / 379.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.016, allocations: 6.922 kB / 379.8 MB, free: 7.105 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --stepSize=0.00118765 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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: 9.797038832679391]