Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001303/0.001303, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001412/0.001412, allocations: 213 kB / 23.73 MB, free: 4.164 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.483/1.483, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.CharacteristicThyristors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 68.06 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2848, allocations: 53.41 MB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005859/0.2906, allocations: 3.665 MB / 434.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.2941, allocations: 1.554 MB / 436.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004809/0.2946, allocations: 11.94 kB / 436.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008877/0.2955, allocations: 258.7 kB / 436.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.2966, allocations: 298.2 kB / 436.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008997/0.2975, allocations: 271.3 kB / 437.2 MB, free: 416 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.2987, allocations: 0.7357 MB / 437.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.299, allocations: 105.4 kB / 438 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006265/0.2996, allocations: 299 kB / 438.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005026/0.3001, allocations: 278.7 kB / 438.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.3002, allocations: 52 kB / 438.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.3005, allocations: 103.9 kB / 438.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.3007, allocations: 151.5 kB / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.301, allocations: 246.8 kB / 439.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008254/0.3018, allocations: 0.7313 MB / 439.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3018, allocations: 4 kB / 439.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3018, allocations: 0 / 439.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.3019, allocations: 0 / 439.9 MB, free: 13.71 MB / 350.1 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.001763/0.3036, allocations: 0.8927 MB / 440.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3037, allocations: 11.98 kB / 440.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.863e-05/0.3038, allocations: 74.72 kB / 440.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003099/0.3041, allocations: 80.5 kB / 440.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.3047, allocations: 360.3 kB / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.3048, allocations: 33.36 kB / 441.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.3048, allocations: 36.38 kB / 441.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008161/0.3056, allocations: 0.5309 MB / 441.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3057, allocations: 3.938 kB / 441.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.3057, allocations: 16 kB / 441.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3057, allocations: 8 kB / 441.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006454/0.3064, allocations: 323.8 kB / 442.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.3089, allocations: 1.548 MB / 443.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006893/0.3096, allocations: 330.2 kB / 444.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.3099, allocations: 168.7 kB / 444.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.31, allocations: 4 kB / 444.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005375/0.3105, allocations: 369.1 kB / 444.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.834e-06/0.3105, allocations: 0 / 444.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002061/0.3126, allocations: 0.7081 MB / 445.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3127, allocations: 162.2 kB / 445.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006249/0.3133, allocations: 0.5096 MB / 446 MB, free: 7.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.3133, allocations: 37.64 kB / 446 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.3135, allocations: 264.7 kB / 446.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3136, allocations: 131 kB / 446.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.3138, allocations: 78.12 kB / 446.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.314, allocations: 358.8 kB / 446.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.3142, allocations: 124.8 kB / 447 MB, free: 6.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.3146, allocations: 340.9 kB / 447.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.3151, allocations: 285 kB / 447.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3151, allocations: 4 kB / 447.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008283/0.3159, allocations: 477 kB / 448 MB, free: 5.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.316, allocations: 8 kB / 448.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.316, allocations: 0 / 448.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005183/0.3165, allocations: 155.3 kB / 448.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.3167, allocations: 52 kB / 448.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005667/0.3224, allocations: 6.21 MB / 454.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.3228, allocations: 51.75 kB / 454.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.3228, allocations: 12 kB / 454.5 MB, free: 14.13 MB / 366.1 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.0002863/0.3231, allocations: 197.8 kB / 454.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.3232, allocations: 51.67 kB / 454.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.3242, allocations: 0.4971 MB / 455.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3242, allocations: 8 kB / 455.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.3242, allocations: 0 / 455.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3242, allocations: 0 / 455.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.3247, allocations: 416.3 kB / 455.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.3247, allocations: 4 kB / 455.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.3249, allocations: 32.03 kB / 455.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/0.3253, allocations: 155.3 kB / 455.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.3253, allocations: 11.98 kB / 455.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005097/0.3304, allocations: 5.923 MB / 461.8 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3304, allocations: 0 / 461.8 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.3316, allocations: 0.5114 MB / 462.3 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.3318, allocations: 83.5 kB / 462.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.3319, allocations: 11.98 kB / 462.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.3322, allocations: 27.98 kB / 462.4 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.3323, allocations: 55.89 kB / 462.5 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.3324, allocations: 16 kB / 462.5 MB, free: 5.586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005445/0.3329, allocations: 367.1 kB / 462.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3329, allocations: 3.938 kB / 462.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009374/0.3339, allocations: 171.8 kB / 463 MB, free: 5.059 MB / 366.1 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.003048/0.3369, allocations: 1.402 MB / 464.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.3382, allocations: 0.7833 MB / 465.2 MB, free: 2.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3382, allocations: 0 / 465.2 MB, free: 2.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008751/0.339, allocations: 0.647 MB / 465.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007307/0.3398, allocations: 136.7 kB / 466 MB, free: 2.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006458/0.3462, allocations: 4.297 MB / 470.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3465, allocations: 267.4 kB / 470.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.3467, allocations: 48.19 kB / 470.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.347, allocations: 171.4 kB / 470.8 MB, free: 13.17 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.347, allocations: 0 / 470.8 MB, free: 13.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05804/0.405, allocations: 15.36 MB / 486.1 MB, free: 13.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.23, allocations: 8.234 kB / 486.1 MB, free: 13.95 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00118765 Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable IdealThyristor1.off in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor1.off from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable IdealThyristor2.off in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor2.off from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable booleanStep1.y in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable booleanStep1.y from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.93098026001826]