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.001868/0.001868, allocations: 113.1 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.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.002434/0.002434, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.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 0.001504/0.001504, allocations: 51.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2509, allocations: 53.37 MB / 431.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005545/0.2564, allocations: 4.037 MB / 435.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.2593, allocations: 1.634 MB / 436.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.2596, allocations: 15.88 kB / 436.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007316/0.2603, allocations: 254.8 kB / 437.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006254/0.2609, allocations: 309.4 kB / 437.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.2615, allocations: 263.3 kB / 437.6 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007745/0.2623, allocations: 0.7319 MB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.2625, allocations: 114.4 kB / 438.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.2629, allocations: 299 kB / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.2633, allocations: 306.6 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.133e-05/0.2634, allocations: 52 kB / 439.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.2636, allocations: 111.9 kB / 439.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.2638, allocations: 143.5 kB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.264, allocations: 306.3 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008392/0.2649, allocations: 0.723 MB / 440.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2649, allocations: 0 / 440.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2649, allocations: 4 kB / 440.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.2649, allocations: 0 / 440.4 MB, free: 13.55 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.001713/0.2666, allocations: 0.8887 MB / 441.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2667, allocations: 12.02 kB / 441.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.538e-05/0.2668, allocations: 78.72 kB / 441.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.267, allocations: 80.45 kB / 441.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005653/0.2675, allocations: 369.3 kB / 441.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.2676, allocations: 33.36 kB / 441.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.2676, allocations: 39.94 kB / 441.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/0.2684, allocations: 437.5 kB / 442.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.2684, allocations: 4 kB / 442.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.2684, allocations: 20 kB / 442.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.2684, allocations: 8 kB / 442.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005987/0.269, allocations: 311.8 kB / 442.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/0.2715, allocations: 1.664 MB / 444.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.2721, allocations: 327.7 kB / 444.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.2724, allocations: 152.8 kB / 444.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.2725, allocations: 7.984 kB / 444.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004566/0.2729, allocations: 262.4 kB / 445.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.2729, allocations: 4 kB / 445.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001992/0.2749, allocations: 0.7003 MB / 445.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.275, allocations: 191.8 kB / 445.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.2757, allocations: 0.5019 MB / 446.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.2757, allocations: 37.7 kB / 446.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.2759, allocations: 264.7 kB / 446.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.276, allocations: 130.9 kB / 446.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.2762, allocations: 74.12 kB / 446.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.2763, allocations: 362.8 kB / 447.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.2766, allocations: 116.8 kB / 447.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.2769, allocations: 217.3 kB / 447.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.2774, allocations: 273.1 kB / 447.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2774, allocations: 0 / 447.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008419/0.2783, allocations: 477 kB / 448.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2783, allocations: 7.984 kB / 448.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2783, allocations: 7.938 kB / 448.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004924/0.2788, allocations: 159.4 kB / 448.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.279, allocations: 51.84 kB / 448.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005273/0.2843, allocations: 6.253 MB / 454.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.2846, allocations: 51.8 kB / 454.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.2847, allocations: 8 kB / 454.9 MB, free: 14.21 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.0002728/0.2849, allocations: 199.8 kB / 455.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/0.285, allocations: 55.61 kB / 455.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.286, allocations: 0.4895 MB / 455.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.286, allocations: 8 kB / 455.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.286, allocations: 3.938 kB / 455.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.286, allocations: 7.984 kB / 455.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.2866, allocations: 472.1 kB / 456.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2866, allocations: 0 / 456.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.2867, allocations: 27.98 kB / 456.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004203/0.2871, allocations: 159.3 kB / 456.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.2872, allocations: 16 kB / 456.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005568/0.2927, allocations: 5.939 MB / 462.2 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2927, allocations: 4.062 kB / 462.2 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.2938, allocations: 0.4917 MB / 462.7 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.294, allocations: 83.5 kB / 462.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.496e-05/0.294, allocations: 15.98 kB / 462.8 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.2943, allocations: 27.98 kB / 462.9 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.2944, allocations: 59.83 kB / 462.9 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.2945, allocations: 12 kB / 462.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004557/0.2949, allocations: 371 kB / 463.3 MB, free: 5.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2949, allocations: 4 kB / 463.3 MB, free: 5.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007701/0.2957, allocations: 175.7 kB / 463.5 MB, free: 5.062 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 (24): * Single equations (assignments): 17 * 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.00276/0.2985, allocations: 1.373 MB / 464.8 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.2997, allocations: 0.7835 MB / 465.6 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2997, allocations: 0 / 465.6 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007549/0.3004, allocations: 0.6352 MB / 466.3 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.301, allocations: 118.9 kB / 466.4 MB, free: 2.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/0.3072, allocations: 4.294 MB / 470.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.3077, allocations: 0.8594 MB / 471.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.3079, allocations: 52.16 kB / 471.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.3081, allocations: 179.4 kB / 471.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3081, allocations: 0 / 471.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05734/0.3655, allocations: 14.99 MB / 486.8 MB, free: 13.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.46, allocations: 9.875 kB / 486.8 MB, free: 13.81 MB / 398.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_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.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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor1.off from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable IdealThyristor2.off in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor2.off from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable booleanStep1.y in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable booleanStep1.y from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.012836071000493]