Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.002059/0.002059, allocations: 115.6 kB / 18.45 MB, free: 4.566 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.002479/0.002479, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.842/1.842, allocations: 207.6 MB / 231.8 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] 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.IdealTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 55.92 kB / 342.3 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1293, allocations: 49.12 MB / 391.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004877/0.1341, allocations: 2.893 MB / 394.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1357, allocations: 0.7796 MB / 395.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.1359, allocations: 7.938 kB / 395.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.1361, allocations: 47.5 kB / 395.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.1363, allocations: 107.1 kB / 395.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1366, allocations: 103.8 kB / 395.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.1371, allocations: 410.1 kB / 395.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.1374, allocations: 99.25 kB / 395.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.1376, allocations: 151.5 kB / 396 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.1378, allocations: 163.2 kB / 396.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.439e-05/0.1379, allocations: 36 kB / 396.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.657e-05/0.138, allocations: 36 kB / 396.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.262e-05/0.1381, allocations: 83.69 kB / 396.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.1383, allocations: 183.1 kB / 396.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.1388, allocations: 430.4 kB / 396.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1388, allocations: 0 / 396.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1388, allocations: 0 / 396.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1388, allocations: 0 / 396.9 MB, free: 3.176 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001266/0.1401, allocations: 0.6243 MB / 397.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1401, allocations: 8.031 kB / 397.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.807e-05/0.1402, allocations: 62.72 kB / 397.6 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.162e-05/0.1403, allocations: 40.7 kB / 397.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.1408, allocations: 287.8 kB / 397.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1409, allocations: 16.94 kB / 397.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.1409, allocations: 28.38 kB / 398 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.1415, allocations: 288.7 kB / 398.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1415, allocations: 0 / 398.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.1415, allocations: 12 kB / 398.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1415, allocations: 11.94 kB / 398.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004688/0.142, allocations: 202.1 kB / 398.5 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.1439, allocations: 1.152 MB / 399.6 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.1444, allocations: 198.7 kB / 399.8 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.1447, allocations: 132.7 kB / 399.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1447, allocations: 4 kB / 399.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.1451, allocations: 170.7 kB / 400.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.1451, allocations: 0 / 400.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001612/0.1467, allocations: 0.5069 MB / 400.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.1468, allocations: 132.5 kB / 400.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.1471, allocations: 245 kB / 401 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.1471, allocations: 29.7 kB / 401 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.1472, allocations: 168.7 kB / 401.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.423e-05/0.1473, allocations: 79.44 kB / 401.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.594e-05/0.1474, allocations: 49.66 kB / 401.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1476, allocations: 338.8 kB / 401.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.1478, allocations: 67.98 kB / 401.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.148, allocations: 129 kB / 401.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.1483, allocations: 167.4 kB / 402 MB, free: 13.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1483, allocations: 0 / 402 MB, free: 13.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005459/0.1489, allocations: 286.1 kB / 402.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1489, allocations: 8.094 kB / 402.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1489, allocations: 4 kB / 402.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000386/0.1493, allocations: 96.73 kB / 402.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.1495, allocations: 27.92 kB / 402.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.1523, allocations: 2.146 MB / 404.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.1525, allocations: 35.8 kB / 404.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.1525, allocations: 8 kB / 404.6 MB, free: 10.98 MB / 334.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: 8 ($whenCondition1,idealTriac.fire1,idealTriac.idealThyristor1.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.1527, allocations: 150.9 kB / 404.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.1528, allocations: 27.8 kB / 404.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.884e-05/0.1529, allocations: 30.17 kB / 404.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1529, allocations: 4 kB / 404.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.1529, allocations: 4.062 kB / 404.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1529, allocations: 4.109 kB / 404.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.154, allocations: 0.7695 MB / 405.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.154, allocations: 0 / 405.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1541, allocations: 19.98 kB / 405.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002808/0.1544, allocations: 84.8 kB / 405.7 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.1544, allocations: 12.03 kB / 405.7 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/0.157, allocations: 2.139 MB / 407.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.157, allocations: 0 / 407.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007933/0.1578, allocations: 457.6 kB / 408.3 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.1579, allocations: 120.9 kB / 408.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.1579, allocations: 7.984 kB / 408.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.1581, allocations: 19.98 kB / 408.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.1583, allocations: 35.95 kB / 408.5 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1583, allocations: 4 kB / 408.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.1585, allocations: 180.5 kB / 408.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1585, allocations: 0 / 408.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005006/0.159, allocations: 95.84 kB / 408.7 MB, free: 6.582 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/0.1602, allocations: 0.9949 MB / 409.7 MB, free: 5.555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007557/0.161, allocations: 350.3 kB / 410.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.161, allocations: 4 kB / 410.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.1614, allocations: 259.3 kB / 410.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.1618, allocations: 52.34 kB / 410.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/0.166, allocations: 2.775 MB / 413.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.1664, allocations: 0.7597 MB / 413.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.1666, allocations: 22.28 kB / 413.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.1667, allocations: 83.41 kB / 414 MB, free: 1.109 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1667, allocations: 0 / 414 MB, free: 1.109 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04094/0.2076, allocations: 7.608 MB / 421.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.17, allocations: 7.875 kB / 421.6 MB, free: 9.438 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039604 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_IdealTriacCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable idealTriac.idealThyristor.off in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv. Warning: Get data of variable idealTriac.idealThyristor.off from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv failed! Error: Could not read variable idealTriac.idealThyristor1.off in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv. Warning: Get data of variable idealTriac.idealThyristor1.off from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.28703964399756]