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.001201/0.001201, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.47 kB / 306.6 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1114, allocations: 50.53 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003156/0.1146, allocations: 1.59 MB / 358.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1166, allocations: 0.8772 MB / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.1167, allocations: 0 / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.1168, allocations: 3.984 kB / 359.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.117, allocations: 19.84 kB / 359.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1172, allocations: 39.97 kB / 359.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.1175, allocations: 159.7 kB / 359.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1176, allocations: 16 kB / 359.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004775/0.1181, allocations: 387.3 kB / 360.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.1183, allocations: 75.69 kB / 360.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.1183, allocations: 11.94 kB / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.629e-05/0.1184, allocations: 12 kB / 360.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.667e-05/0.1185, allocations: 63.75 kB / 360.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1186, allocations: 119.1 kB / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.1189, allocations: 358.8 kB / 360.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1189, allocations: 4 kB / 360.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1189, allocations: 0 / 360.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.119, allocations: 0 / 360.8 MB, free: 10.59 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.0009429/0.1199, allocations: 0.7254 MB / 361.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.12, allocations: 8.031 kB / 361.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/0.12, allocations: 38.75 kB / 361.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.1201, allocations: 40.47 kB / 361.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.1204, allocations: 274.3 kB / 361.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.1204, allocations: 4.375 kB / 361.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.1205, allocations: 12.38 kB / 361.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.1208, allocations: 133.6 kB / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1208, allocations: 0 / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.1209, allocations: 8 kB / 362 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.1209, allocations: 0 / 362 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1211, allocations: 51.97 kB / 362.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008867/0.122, allocations: 472.4 kB / 362.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1222, allocations: 90.55 kB / 362.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.1224, allocations: 84.89 kB / 362.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.1224, allocations: 0 / 362.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000443/0.1229, allocations: 201.5 kB / 362.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.1229, allocations: 4 kB / 362.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009377/0.1238, allocations: 471.9 kB / 363.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.1239, allocations: 170.2 kB / 363.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007196/0.1247, allocations: 0.5168 MB / 364 MB, free: 7.047 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.1247, allocations: 29.7 kB / 364.1 MB, free: 7.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.1248, allocations: 97.12 kB / 364.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.1248, allocations: 31.58 kB / 364.2 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.125, allocations: 85.33 kB / 364.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1251, allocations: 330.8 kB / 364.6 MB, free: 6.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1253, allocations: 55.97 kB / 364.7 MB, free: 6.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1254, allocations: 69.69 kB / 364.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.1257, allocations: 339.3 kB / 365.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1258, allocations: 0 / 365.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000594/0.1264, allocations: 380.3 kB / 365.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.1265, allocations: 122.8 kB / 365.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1265, allocations: 8.141 kB / 365.6 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1265, allocations: 3.938 kB / 365.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.113e-05/0.1265, allocations: 0 / 365.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1265, allocations: 80 / 365.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.1267, allocations: 12 kB / 365.6 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.1267, allocations: 48.09 kB / 365.6 MB, free: 5.328 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.000333/0.1271, allocations: 378 kB / 366 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.1272, allocations: 43.52 kB / 366 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.1273, allocations: 63.16 kB / 366.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1273, allocations: 0 / 366.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1273, allocations: 0 / 366.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1273, allocations: 0 / 366.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009496/0.1282, allocations: 0.8172 MB / 366.9 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1283, allocations: 0 / 366.9 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-06/0.1283, allocations: 3.984 kB / 366.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1283, allocations: 0 / 366.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.1283, allocations: 8 kB / 366.9 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1283, allocations: 7.938 kB / 366.9 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1283, allocations: 7.938 kB / 366.9 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.129, allocations: 0.5251 MB / 367.5 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.1293, allocations: 240.5 kB / 367.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/0.1294, allocations: 8 kB / 367.7 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.1295, allocations: 23.92 kB / 367.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.1297, allocations: 27.91 kB / 367.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.1297, allocations: 43.94 kB / 367.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000502/0.1302, allocations: 394.9 kB / 368.2 MB, free: 2.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1302, allocations: 0 / 368.2 MB, free: 2.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.1306, allocations: 44 kB / 368.2 MB, free: 2.531 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.0009406/0.1315, allocations: 1.081 MB / 369.3 MB, free: 1.402 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000513/0.1321, allocations: 441.5 kB / 369.7 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1321, allocations: 0 / 369.7 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.1324, allocations: 385.8 kB / 370.1 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007071/0.1331, allocations: 120.4 kB / 370.2 MB, free: 400 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2409/0.3741, allocations: 2.792 MB / 373 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.3745, allocations: 0.8047 MB / 373.8 MB, free: 16.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.17e-05/0.3746, allocations: 6.859 kB / 373.8 MB, free: 16.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.3747, allocations: 27.73 kB / 373.9 MB, free: 16.32 MB / 302.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3747, allocations: 0 / 373.9 MB, free: 16.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.3935, allocations: 5.668 MB / 379.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/0.3937, allocations: 209.5 kB / 379.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.284, allocations: 0 / 379.7 MB, free: 15.49 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