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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 64.14 kB / 306.3 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1133, allocations: 50.54 MB / 356.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003243/0.1166, allocations: 1.591 MB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.1187, allocations: 0.9044 MB / 359.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.872e-05/0.1188, allocations: 0 / 359.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.119, allocations: 11.92 kB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.1191, allocations: 15.92 kB / 359.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1194, allocations: 35.97 kB / 359.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.1196, allocations: 119.7 kB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1197, allocations: 15.98 kB / 359.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005024/0.1202, allocations: 383.3 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1203, allocations: 75.69 kB / 360 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.974e-05/0.1204, allocations: 4 kB / 360 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.564e-05/0.1204, allocations: 8 kB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.931e-05/0.1205, allocations: 55.77 kB / 360.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.1207, allocations: 115.1 kB / 360.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.121, allocations: 350.7 kB / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.121, allocations: 0 / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1211, allocations: 0 / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1211, allocations: 0 / 360.5 MB, free: 10.72 MB / 302.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.0009253/0.122, allocations: 0.723 MB / 361.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1221, allocations: 12.03 kB / 361.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.639e-05/0.1221, allocations: 34.75 kB / 361.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.1222, allocations: 40.47 kB / 361.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.1225, allocations: 274.3 kB / 361.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.1225, allocations: 12.31 kB / 361.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1226, allocations: 8.375 kB / 361.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.1229, allocations: 125.7 kB / 361.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1229, allocations: 0 / 361.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.1229, allocations: 4 kB / 361.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1229, allocations: 3.984 kB / 361.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1231, allocations: 63.97 kB / 361.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.1238, allocations: 460.4 kB / 362.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.124, allocations: 94.55 kB / 362.4 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.1242, allocations: 80.89 kB / 362.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.1242, allocations: 4 kB / 362.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003749/0.1246, allocations: 202.7 kB / 362.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 3.326e-06/0.1246, allocations: 0 / 362.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008199/0.1254, allocations: 476 kB / 363.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.1255, allocations: 166.2 kB / 363.3 MB, free: 7.695 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006842/0.1262, allocations: 0.5167 MB / 363.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/0.1262, allocations: 33.81 kB / 363.8 MB, free: 7.133 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.1263, allocations: 105.1 kB / 363.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.1264, allocations: 35.58 kB / 364 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1265, allocations: 77.33 kB / 364 MB, free: 6.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1266, allocations: 330.8 kB / 364.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.1268, allocations: 55.97 kB / 364.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1269, allocations: 73.67 kB / 364.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.1272, allocations: 342.9 kB / 364.8 MB, free: 6.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1272, allocations: 0 / 364.8 MB, free: 6.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005034/0.1278, allocations: 376.3 kB / 365.2 MB, free: 5.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.807e-05/0.1278, allocations: 126.8 kB / 365.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1279, allocations: 4 kB / 365.3 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1279, allocations: 0 / 365.3 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.28e-05/0.1279, allocations: 0 / 365.3 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1279, allocations: 0 / 365.3 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.1281, allocations: 19.98 kB / 365.3 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/0.1282, allocations: 40.16 kB / 365.4 MB, free: 5.449 MB / 302.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.0003381/0.1285, allocations: 374.1 kB / 365.7 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.1286, allocations: 39.53 kB / 365.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.904e-05/0.1287, allocations: 67.14 kB / 365.9 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1287, allocations: 0 / 365.9 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1287, allocations: 0 / 365.9 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1287, allocations: 4 kB / 365.9 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.1297, allocations: 0.8172 MB / 366.7 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1297, allocations: 4 kB / 366.7 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-06/0.1297, allocations: 0 / 366.7 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1298, allocations: 0 / 366.7 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.1298, allocations: 8 kB / 366.7 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1298, allocations: 4 kB / 366.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1298, allocations: 7.875 kB / 366.7 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.1304, allocations: 0.5174 MB / 367.2 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.1308, allocations: 244.5 kB / 367.5 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.453e-05/0.1308, allocations: 19.98 kB / 367.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.131, allocations: 11.94 kB / 367.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.1311, allocations: 35.84 kB / 367.5 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.1312, allocations: 39.94 kB / 367.6 MB, free: 3.086 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004363/0.1316, allocations: 390.9 kB / 367.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1316, allocations: 0 / 367.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1319, allocations: 48 kB / 368 MB, free: 2.656 MB / 302.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.0009454/0.1329, allocations: 1.089 MB / 369.1 MB, free: 1.516 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005157/0.1334, allocations: 429.5 kB / 369.5 MB, free: 1.047 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1334, allocations: 0 / 369.5 MB, free: 1.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.1338, allocations: 385.8 kB / 369.9 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006193/0.1344, allocations: 120.9 kB / 370 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1773/0.3117, allocations: 2.79 MB / 372.8 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.312, allocations: 0.8012 MB / 373.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.3121, allocations: 8.078 kB / 373.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.3122, allocations: 27.92 kB / 373.6 MB, free: 18.46 MB / 302.1 MB Notification: Performance of SimCode: time 1.643e-06/0.3122, allocations: 0 / 373.6 MB, free: 18.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.3296, allocations: 5.496 MB / 379.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.3298, allocations: 192.8 kB / 379.3 MB, free: 17.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.129, allocations: 3.531 kB / 379.3 MB, free: 17.64 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches