Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008148/0.0008148, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003437/0.003437, allocations: 165.8 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8296/0.8296, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.386e-05, allocations: 6.281 kB / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.1336/0.1336, allocations: 3.576 MB / 302 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1356, allocations: 1.312 MB / 303.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.1358, allocations: 10.62 kB / 303.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.1365, allocations: 262.3 kB / 303.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.1369, allocations: 274.1 kB / 303.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.1373, allocations: 257.8 kB / 304.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.1378, allocations: 0.7313 MB / 304.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.138, allocations: 116.4 kB / 305 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.1384, allocations: 407.4 kB / 305.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.1386, allocations: 241.2 kB / 305.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.1387, allocations: 50.12 kB / 305.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.1388, allocations: 102.7 kB / 305.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1389, allocations: 143.8 kB / 305.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.1391, allocations: 201.3 kB / 306.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.1397, allocations: 0.7205 MB / 306.8 MB, free: 12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1397, allocations: 0 / 306.8 MB, free: 12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1397, allocations: 1.688 kB / 306.8 MB, free: 12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.475e-06/0.1397, allocations: 1.281 kB / 306.8 MB, free: 12 MB / 282.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.00102/0.1407, allocations: 0.8836 MB / 307.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1407, allocations: 12.39 kB / 307.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.1408, allocations: 81.69 kB / 307.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.451e-05/0.1409, allocations: 71.08 kB / 307.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.1412, allocations: 355.5 kB / 308.2 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.1412, allocations: 29.91 kB / 308.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.1413, allocations: 38.12 kB / 308.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.1418, allocations: 0.536 MB / 308.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1418, allocations: 1.25 kB / 308.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.1418, allocations: 16.25 kB / 308.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1418, allocations: 9.844 kB / 308.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.1422, allocations: 311 kB / 309.1 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.1436, allocations: 1.551 MB / 310.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.1441, allocations: 335.2 kB / 311 MB, free: 9.262 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.1443, allocations: 159.9 kB / 311.2 MB, free: 9.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1443, allocations: 8.438 kB / 311.2 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003125/0.1446, allocations: 365.4 kB / 311.5 MB, free: 8.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 1.533e-06/0.1446, allocations: 0 / 311.5 MB, free: 8.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001297/0.1459, allocations: 0.7152 MB / 312.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.1459, allocations: 164.2 kB / 312.4 MB, free: 8.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.1463, allocations: 0.4942 MB / 312.9 MB, free: 8.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1464, allocations: 37.83 kB / 312.9 MB, free: 8.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1465, allocations: 253.6 kB / 313.2 MB, free: 7.977 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.1465, allocations: 126 kB / 313.3 MB, free: 7.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.1466, allocations: 75.73 kB / 313.4 MB, free: 7.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.1467, allocations: 366 kB / 313.7 MB, free: 7.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.1468, allocations: 121.8 kB / 313.9 MB, free: 7.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.147, allocations: 339.4 kB / 314.2 MB, free: 7.164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.1473, allocations: 276.2 kB / 314.5 MB, free: 7.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1473, allocations: 1.531 kB / 314.5 MB, free: 7.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005241/0.1479, allocations: 473.1 kB / 314.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1479, allocations: 6.719 kB / 314.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1479, allocations: 1.406 kB / 314.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/0.1482, allocations: 167.5 kB / 315.1 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.1483, allocations: 44.11 kB / 315.1 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.1506, allocations: 6.207 MB / 321.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.1508, allocations: 52.84 kB / 321.4 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.1508, allocations: 18.62 kB / 321.4 MB, free: 0.7422 MB / 282.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.0001344/0.151, allocations: 189.1 kB / 321.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.151, allocations: 53.28 kB / 321.7 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006669/0.1517, allocations: 0.4931 MB / 322.1 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1517, allocations: 3.906 kB / 322.2 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.1517, allocations: 4 kB / 322.2 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1517, allocations: 3.906 kB / 322.2 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.152, allocations: 424 kB / 322.6 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.152, allocations: 0 / 322.6 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/0.1521, allocations: 31.27 kB / 322.6 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002806/0.1524, allocations: 156.7 kB / 322.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.1524, allocations: 12.58 kB / 322.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003356/0.1558, allocations: 5.913 MB / 328.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1558, allocations: 3.562 kB / 328.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.1564, allocations: 0.4999 MB / 329.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.1565, allocations: 83.7 kB / 329.3 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.1566, allocations: 12.95 kB / 329.3 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1567, allocations: 31.88 kB / 329.3 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.1568, allocations: 55.86 kB / 329.4 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.1568, allocations: 10.03 kB / 329.4 MB, free: 9.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002891/0.1571, allocations: 364.6 kB / 329.7 MB, free: 9.797 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1571, allocations: 0 / 329.7 MB, free: 9.797 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005256/0.1577, allocations: 168.1 kB / 329.9 MB, free: 9.766 MB / 298.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.001705/0.1594, allocations: 1.408 MB / 331.3 MB, free: 8.684 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000728/0.1601, allocations: 0.8008 MB / 332.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1601, allocations: 1.156 kB / 332.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.1605, allocations: 0.6483 MB / 332.8 MB, free: 7.551 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1609, allocations: 124.6 kB / 332.9 MB, free: 7.496 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/0.1653, allocations: 4.262 MB / 337.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.1655, allocations: 258.8 kB / 337.4 MB, free: 4.758 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.1656, allocations: 51.34 kB / 337.4 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.1658, allocations: 171.2 kB / 337.6 MB, free: 4.586 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1658, allocations: 0 / 337.6 MB, free: 4.586 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/0.2039, allocations: 15.38 MB / 353 MB, free: 6.203 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/8.49, allocations: 0 / 353 MB, free: 6.203 MB / 314.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor1.off from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable IdealThyristor2.off in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor2.off from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable booleanStep1.y in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable booleanStep1.y from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.208655452355742]