Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.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.0008359/0.0008359, allocations: 83.64 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.003649/0.003649, allocations: 162.5 kB / 24.69 MB, free: 9.441 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.8802/0.8802, allocations: 158.6 MB / 186.5 MB, free: 3.043 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.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.472e-05, allocations: 6.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002983/0.003007, allocations: 1.47 MB / 299.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.005119, allocations: 0.8398 MB / 300.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.005196, allocations: 0 / 300.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.005304, allocations: 7.875 kB / 300.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.005414, allocations: 27.78 kB / 300.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.005755, allocations: 51.89 kB / 300.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.006005, allocations: 143.7 kB / 301 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.006117, allocations: 11.94 kB / 301 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005022/0.006619, allocations: 415.3 kB / 301.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.00676, allocations: 59.81 kB / 301.5 MB, free: 488 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.0068, allocations: 12 kB / 301.5 MB, free: 476 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.423e-05/0.006825, allocations: 8 kB / 301.5 MB, free: 468 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.402e-05/0.006909, allocations: 71.66 kB / 301.5 MB, free: 396 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.11e-05/0.00699, allocations: 51.8 kB / 301.6 MB, free: 344 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1171/0.1241, allocations: 357 kB / 301.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1241, allocations: 0 / 301.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1241, allocations: 0.8125 kB / 301.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.1241, allocations: 2.062 kB / 301.9 MB, free: 13.71 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006295/0.1248, allocations: 0.6527 MB / 302.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1248, allocations: 14.83 kB / 302.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.1248, allocations: 46.36 kB / 302.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.1249, allocations: 38.7 kB / 302.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.1251, allocations: 216 kB / 302.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1251, allocations: 4.281 kB / 302.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1251, allocations: 12.28 kB / 302.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.1254, allocations: 243.2 kB / 303.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1254, allocations: 1.406 kB / 303.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.1254, allocations: 4.703 kB / 303.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1254, allocations: 4.906 kB / 303.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1255, allocations: 182.5 kB / 303.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.126, allocations: 411.4 kB / 303.8 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.1262, allocations: 200 kB / 303.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1263, allocations: 181.1 kB / 304.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.1263, allocations: 1.922 kB / 304.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.1266, allocations: 323.8 kB / 304.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.284e-06/0.1266, allocations: 3.328 kB / 304.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005907/0.1272, allocations: 0.7074 MB / 305.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.1272, allocations: 168.6 kB / 305.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.1277, allocations: 0.5179 MB / 305.8 MB, free: 11.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1277, allocations: 30.8 kB / 305.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.1277, allocations: 100.1 kB / 306 MB, free: 10.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1278, allocations: 23.83 kB / 306 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.1278, allocations: 79.27 kB / 306.1 MB, free: 10.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.591e-05/0.1279, allocations: 327.7 kB / 306.4 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.128, allocations: 177.4 kB / 306.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1281, allocations: 197.1 kB / 306.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.1283, allocations: 350.8 kB / 307.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1283, allocations: 3.938 kB / 307.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003435/0.1286, allocations: 0.5026 MB / 307.6 MB, free: 9.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.345e-05/0.1287, allocations: 123.5 kB / 307.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1287, allocations: 1.75 kB / 307.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1287, allocations: 3.766 kB / 307.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.102e-05/0.1287, allocations: 1.062 kB / 307.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1287, allocations: 1.938 kB / 307.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1288, allocations: 27.75 kB / 307.8 MB, free: 9.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.1289, allocations: 39.94 kB / 307.8 MB, free: 9.594 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.1291, allocations: 361.7 kB / 308.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.1291, allocations: 43.95 kB / 308.2 MB, free: 9.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.921e-05/0.1292, allocations: 69.38 kB / 308.3 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1292, allocations: 0 / 308.3 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1292, allocations: 2.047 kB / 308.3 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1292, allocations: 0.5625 kB / 308.3 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.1299, allocations: 0.884 MB / 309.1 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1299, allocations: 4.406 kB / 309.2 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-06/0.1299, allocations: 1.125 kB / 309.2 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1299, allocations: 0.7031 kB / 309.2 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.13, allocations: 20.66 kB / 309.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.13, allocations: 2.953 kB / 309.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.13, allocations: 1.688 kB / 309.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.1304, allocations: 0.6638 MB / 309.8 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.1306, allocations: 202.5 kB / 310 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.1307, allocations: 11.94 kB / 310.1 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.1308, allocations: 11.67 kB / 310.1 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.412e-05/0.1308, allocations: 24.81 kB / 310.1 MB, free: 7.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.1309, allocations: 45 kB / 310.1 MB, free: 7.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002961/0.1312, allocations: 387.8 kB / 310.5 MB, free: 7.727 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1312, allocations: 1.156 kB / 310.5 MB, free: 7.727 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.1314, allocations: 49 kB / 310.6 MB, free: 7.719 MB / 282.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000559/0.1319, allocations: 1.214 MB / 311.8 MB, free: 6.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.1323, allocations: 0.6096 MB / 312.4 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1323, allocations: 0 / 312.4 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.1325, allocations: 429.5 kB / 312.8 MB, free: 5.715 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.1329, allocations: 118.5 kB / 312.9 MB, free: 5.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.1354, allocations: 3.37 MB / 316.3 MB, free: 3.078 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.1355, allocations: 189.2 kB / 316.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.708e-05/0.1356, allocations: 17.19 kB / 316.5 MB, free: 2.965 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.1357, allocations: 34.14 kB / 316.5 MB, free: 2.941 MB / 282.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1357, allocations: 0 / 316.5 MB, free: 2.941 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.1576, allocations: 7.037 MB / 323.6 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.184, allocations: 10.19 kB / 323.6 MB, free: 0.6289 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00239569 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable iNV3S.y in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.csv. Warning: Get data of variable iNV3S.y from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.90040872991085]