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.001756/0.001756, allocations: 114.5 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.002057/0.002057, allocations: 213.6 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.482/1.482, allocations: 207.6 MB / 231.8 MB, free: 4.027 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.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: 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.002711/0.002711, allocations: 51.94 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1263, allocations: 49.13 MB / 391.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002699/0.129, allocations: 1.514 MB / 392.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.131, allocations: 0.9153 MB / 393.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.1311, allocations: 0 / 393.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.1312, allocations: 11.86 kB / 393.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.677e-05/0.1313, allocations: 11.88 kB / 393.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.1316, allocations: 55.86 kB / 393.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.1319, allocations: 135.8 kB / 394.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.132, allocations: 19.88 kB / 394.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005635/0.1326, allocations: 395.2 kB / 394.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.1327, allocations: 79.61 kB / 394.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.1328, allocations: 8 kB / 394.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.123e-05/0.1328, allocations: 12 kB / 394.6 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1329, allocations: 59.77 kB / 394.6 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1331, allocations: 111.2 kB / 394.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.1335, allocations: 362.4 kB / 395.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1335, allocations: 0 / 395.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1335, allocations: 4 kB / 395.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1335, allocations: 4 kB / 395.1 MB, free: 5.012 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008824/0.1344, allocations: 0.7344 MB / 395.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1344, allocations: 8.031 kB / 395.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.249e-05/0.1345, allocations: 38.75 kB / 395.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.44e-05/0.1346, allocations: 40.7 kB / 395.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.1349, allocations: 270.7 kB / 396.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1349, allocations: 8.375 kB / 396.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.1349, allocations: 12.38 kB / 396.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.1352, allocations: 133.7 kB / 396.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1353, allocations: 0 / 396.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.1353, allocations: 4 kB / 396.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1353, allocations: 0 / 396.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.1354, allocations: 55.97 kB / 396.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007177/0.1361, allocations: 464.5 kB / 396.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1363, allocations: 78.42 kB / 396.9 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1365, allocations: 68.88 kB / 397 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.1365, allocations: 0 / 397 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004511/0.137, allocations: 198.7 kB / 397.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.137, allocations: 0 / 397.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009074/0.1379, allocations: 472.6 kB / 397.6 MB, free: 2.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.138, allocations: 174.2 kB / 397.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006671/0.1387, allocations: 0.5168 MB / 398.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.1387, allocations: 33.7 kB / 398.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.1388, allocations: 97.12 kB / 398.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.1388, allocations: 31.75 kB / 398.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.1389, allocations: 77.55 kB / 398.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1391, allocations: 326.8 kB / 398.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1393, allocations: 67.89 kB / 398.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1394, allocations: 73.69 kB / 399 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.1398, allocations: 339.3 kB / 399.3 MB, free: 384 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.1398, allocations: 3.984 kB / 399.3 MB, free: 380 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005895/0.1404, allocations: 380.3 kB / 399.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.1405, allocations: 122.8 kB / 399.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1405, allocations: 7.938 kB / 399.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1405, allocations: 0 / 399.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-05/0.1406, allocations: 3.984 kB / 399.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1406, allocations: 0 / 399.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.1407, allocations: 16.03 kB / 399.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.1408, allocations: 44.05 kB / 399.9 MB, free: 15.75 MB / 334.1 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.0003875/0.1412, allocations: 366.2 kB / 400.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.1412, allocations: 39.77 kB / 400.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.1413, allocations: 67.14 kB / 400.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1413, allocations: 0 / 400.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1413, allocations: 3.938 kB / 400.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1413, allocations: 112 / 400.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1424, allocations: 0.8173 MB / 401.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1424, allocations: 0 / 401.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-06/0.1424, allocations: 0 / 401.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1424, allocations: 0 / 401.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.1424, allocations: 11.98 kB / 401.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1424, allocations: 4 kB / 401.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1424, allocations: 3.938 kB / 401.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/0.1431, allocations: 0.5253 MB / 401.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.1435, allocations: 248.6 kB / 402 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.1435, allocations: 12 kB / 402 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.1437, allocations: 11.98 kB / 402 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.1438, allocations: 31.91 kB / 402 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/0.1439, allocations: 43.98 kB / 402.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005194/0.1444, allocations: 382.9 kB / 402.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1444, allocations: 0 / 402.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1447, allocations: 44 kB / 402.5 MB, free: 12.99 MB / 334.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: 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.001071/0.1457, allocations: 1.097 MB / 403.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005115/0.1462, allocations: 369.5 kB / 404 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1462, allocations: 0 / 404 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.1466, allocations: 301.8 kB / 404.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006603/0.1472, allocations: 141.3 kB / 404.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.151, allocations: 2.751 MB / 407.1 MB, free: 8.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.1515, allocations: 0.8059 MB / 407.9 MB, free: 7.254 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.806e-05/0.1516, allocations: 8.656 kB / 407.9 MB, free: 7.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.1516, allocations: 31.36 kB / 408 MB, free: 7.215 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1516, allocations: 0 / 408 MB, free: 7.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.1795, allocations: 5.92 MB / 413.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/8.48, allocations: 11.75 kB / 413.9 MB, free: 1.184 MB / 334.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/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: 10.99312394700246]