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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 118.6 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 189.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.1 MB / 224 MB, free: 12.37 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 59.86 kB / 280.2 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.09961, allocations: 46.63 MB / 326.9 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002773/0.1024, allocations: 1.57 MB / 328.4 MB, free: 3.109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.1044, allocations: 0.8867 MB / 329.3 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.1045, allocations: 0 / 329.3 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.841e-05/0.1046, allocations: 11.92 kB / 329.3 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.167e-05/0.1047, allocations: 7.922 kB / 329.4 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.105, allocations: 47.89 kB / 329.4 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.1052, allocations: 151.7 kB / 329.5 MB, free: 2 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1053, allocations: 31.97 kB / 329.6 MB, free: 1.969 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005325/0.1059, allocations: 387.3 kB / 330 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.106, allocations: 67.75 kB / 330 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.451e-05/0.1061, allocations: 12 kB / 330 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.166e-05/0.1061, allocations: 12 kB / 330 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.634e-05/0.1062, allocations: 67.7 kB / 330.1 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.1064, allocations: 111.2 kB / 330.2 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.1068, allocations: 354.8 kB / 330.6 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1068, allocations: 3.938 kB / 330.6 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1068, allocations: 0 / 330.6 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1068, allocations: 3.938 kB / 330.6 MB, free: 0.9688 MB / 270.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.0008312/0.1077, allocations: 0.7152 MB / 331.3 MB, free: 184 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1077, allocations: 12.03 kB / 331.3 MB, free: 172 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.1078, allocations: 42.75 kB / 331.3 MB, free: 120 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.1079, allocations: 36.47 kB / 331.4 MB, free: 84 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.1082, allocations: 278.3 kB / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1082, allocations: 4.375 kB / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.1082, allocations: 8.375 kB / 331.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.1086, allocations: 133.7 kB / 331.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1086, allocations: 0 / 331.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1086, allocations: 8 kB / 331.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1086, allocations: 0 / 331.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1088, allocations: 59.95 kB / 331.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.1095, allocations: 464.5 kB / 332.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1097, allocations: 90.55 kB / 332.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1098, allocations: 85 kB / 332.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-06/0.1099, allocations: 7.938 kB / 332.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003878/0.1103, allocations: 210.5 kB / 332.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.1103, allocations: 0 / 332.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000874/0.1111, allocations: 456 kB / 333.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.486e-05/0.1113, allocations: 170.2 kB / 333.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/0.1119, allocations: 0.5207 MB / 333.8 MB, free: 13.42 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.112, allocations: 29.7 kB / 333.9 MB, free: 13.39 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.112, allocations: 105.1 kB / 334 MB, free: 13.28 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.1121, allocations: 27.7 kB / 334 MB, free: 13.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.1122, allocations: 85.41 kB / 334.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1123, allocations: 326.8 kB / 334.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1125, allocations: 51.97 kB / 334.4 MB, free: 12.79 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.1126, allocations: 73.69 kB / 334.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.113, allocations: 355.6 kB / 334.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.113, allocations: 0 / 334.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005721/0.1136, allocations: 376.4 kB / 335.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.1137, allocations: 122.8 kB / 335.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1137, allocations: 0 / 335.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1137, allocations: 3.984 kB / 335.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-05/0.1137, allocations: 4.125 kB / 335.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1138, allocations: 7.938 kB / 335.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.1139, allocations: 12 kB / 335.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.114, allocations: 43.98 kB / 335.4 MB, free: 11.69 MB / 286.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.0003732/0.1144, allocations: 362.3 kB / 335.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.1145, allocations: 39.53 kB / 335.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.1146, allocations: 67.16 kB / 335.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1146, allocations: 3.938 kB / 335.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1146, allocations: 0 / 335.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1146, allocations: 0 / 335.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.1157, allocations: 0.8094 MB / 336.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1157, allocations: 4 kB / 336.7 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.1157, allocations: 0 / 336.7 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1157, allocations: 0 / 336.7 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.1158, allocations: 23.92 kB / 336.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1158, allocations: 0 / 336.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.1158, allocations: 3.938 kB / 336.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.1165, allocations: 0.5214 MB / 337.2 MB, free: 9.703 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.1168, allocations: 248.3 kB / 337.5 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.1168, allocations: 8 kB / 337.5 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.117, allocations: 19.98 kB / 337.5 MB, free: 9.414 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.1171, allocations: 23.91 kB / 337.5 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.1171, allocations: 47.94 kB / 337.6 MB, free: 9.344 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004178/0.1176, allocations: 386.9 kB / 338 MB, free: 8.969 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1176, allocations: 0 / 338 MB, free: 8.969 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1179, allocations: 40 kB / 338 MB, free: 8.93 MB / 286.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.0009524/0.1188, allocations: 1.093 MB / 339.1 MB, free: 7.785 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005049/0.1193, allocations: 441.5 kB / 339.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1193, allocations: 0 / 339.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.1196, allocations: 369.6 kB / 339.9 MB, free: 6.895 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/0.1202, allocations: 133.2 kB / 340 MB, free: 6.762 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.1233, allocations: 2.799 MB / 342.8 MB, free: 3.852 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1237, allocations: 0.8058 MB / 343.6 MB, free: 3.02 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.029e-05/0.1237, allocations: 8.656 kB / 343.6 MB, free: 3.012 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.1238, allocations: 27.42 kB / 343.7 MB, free: 2.984 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1238, allocations: 0 / 343.7 MB, free: 2.984 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01527/0.1391, allocations: 5.688 MB / 349.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.1393, allocations: 193.3 kB / 349.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/1.971, allocations: 0 / 349.5 MB, free: 12.98 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches