Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00174/0.00174, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002033/0.002033, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1197, allocations: 53.32 MB / 426.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002865/0.1226, allocations: 1.544 MB / 428.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1247, allocations: 0.8771 MB / 429.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.1248, allocations: 4 kB / 429.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.1249, allocations: 11.86 kB / 429.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.299e-05/0.125, allocations: 23.86 kB / 429.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.1253, allocations: 47.89 kB / 429.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.1255, allocations: 143.7 kB / 429.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.1256, allocations: 11.98 kB / 429.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.1261, allocations: 403.2 kB / 429.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1262, allocations: 71.69 kB / 429.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.1263, allocations: 12 kB / 429.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.717e-05/0.1263, allocations: 8 kB / 429.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.1264, allocations: 63.75 kB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.1265, allocations: 115.2 kB / 430 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.1269, allocations: 366.4 kB / 430.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1269, allocations: 0 / 430.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1269, allocations: 0 / 430.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1269, allocations: 0 / 430.3 MB, free: 1.324 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000919/0.1279, allocations: 0.7305 MB / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1279, allocations: 8.031 kB / 431.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.664e-05/0.128, allocations: 46.67 kB / 431.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.128, allocations: 40.7 kB / 431.2 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.1284, allocations: 274.7 kB / 431.4 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1284, allocations: 8.375 kB / 431.4 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.1284, allocations: 8.375 kB / 431.4 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.1288, allocations: 125.7 kB / 431.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1288, allocations: 0 / 431.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.1288, allocations: 8 kB / 431.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1288, allocations: 4 kB / 431.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.129, allocations: 59.95 kB / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.1297, allocations: 464.4 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1299, allocations: 78.53 kB / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.1301, allocations: 60.89 kB / 432.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.1301, allocations: 0 / 432.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004269/0.1305, allocations: 202.7 kB / 432.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.1305, allocations: 0 / 432.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.000834/0.1313, allocations: 468.2 kB / 432.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.1315, allocations: 174.2 kB / 433 MB, free: 14.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007099/0.1322, allocations: 0.513 MB / 433.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.1322, allocations: 29.7 kB / 433.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.1323, allocations: 105.1 kB / 433.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.1324, allocations: 23.86 kB / 433.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.1325, allocations: 89.44 kB / 433.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1327, allocations: 326.8 kB / 434.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1328, allocations: 55.97 kB / 434.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1329, allocations: 73.69 kB / 434.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.1333, allocations: 342.9 kB / 434.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1333, allocations: 0 / 434.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006408/0.134, allocations: 376.3 kB / 435 MB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.1341, allocations: 122.8 kB / 435.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1341, allocations: 4.047 kB / 435.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1341, allocations: 3.938 kB / 435.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.299e-05/0.1341, allocations: 4.031 kB / 435.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1341, allocations: 4 kB / 435.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.1343, allocations: 19.94 kB / 435.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/0.1343, allocations: 36.12 kB / 435.1 MB, free: 12.08 MB / 366.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.0004425/0.1348, allocations: 378.2 kB / 435.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.1348, allocations: 39.75 kB / 435.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.1349, allocations: 67.14 kB / 435.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.135, allocations: 0 / 435.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.135, allocations: 8 kB / 435.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.135, allocations: 0 / 435.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.1362, allocations: 0.8056 MB / 436.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1362, allocations: 0 / 436.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-06/0.1362, allocations: 0 / 436.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1362, allocations: 0 / 436.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.1362, allocations: 19.98 kB / 436.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1362, allocations: 0 / 436.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1362, allocations: 3.938 kB / 436.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006844/0.1369, allocations: 0.5331 MB / 437 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.1373, allocations: 248.6 kB / 437.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.1373, allocations: 8 kB / 437.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.1375, allocations: 15.98 kB / 437.3 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.1376, allocations: 23.92 kB / 437.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.1377, allocations: 47.92 kB / 437.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005305/0.1382, allocations: 386.9 kB / 437.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1382, allocations: 0 / 437.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.1385, allocations: 51.94 kB / 437.7 MB, free: 9.297 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: 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.00112/0.1396, allocations: 1.078 MB / 438.8 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.1401, allocations: 381.7 kB / 439.2 MB, free: 7.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1401, allocations: 0 / 439.2 MB, free: 7.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.1405, allocations: 305.7 kB / 439.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.1411, allocations: 130.2 kB / 439.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.1449, allocations: 2.755 MB / 442.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.1455, allocations: 0.7983 MB / 443.2 MB, free: 3.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.297e-05/0.1456, allocations: 8.656 kB / 443.2 MB, free: 3.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.1456, allocations: 35.38 kB / 443.2 MB, free: 3.547 MB / 366.1 MB Notification: Performance of SimCode: time 9.21e-07/0.1456, allocations: 0 / 443.2 MB, free: 3.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2339/0.3795, allocations: 5.905 MB / 449.1 MB, free: 24.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.401, allocations: 3.781 kB / 449.1 MB, free: 24.83 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.87937172781676]