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.001323/0.001323, allocations: 103.6 kB / 17.58 MB, free: 5.582 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.001534/0.001534, allocations: 191.9 kB / 18.51 MB, free: 4.66 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.408/1.408, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001284/0.001285, allocations: 56.14 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08611/0.08741, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003467/0.09093, allocations: 1.505 MB / 328.9 MB, free: 2.855 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.09299, allocations: 0.8858 MB / 329.8 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.09309, allocations: 0 / 329.8 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.09323, allocations: 11.86 kB / 329.8 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.551e-05/0.09333, allocations: 27.84 kB / 329.8 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.09361, allocations: 51.88 kB / 329.9 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.09384, allocations: 147.7 kB / 330 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.09396, allocations: 23.98 kB / 330 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005005/0.09447, allocations: 383.3 kB / 330.4 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.09466, allocations: 63.7 kB / 330.5 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.09473, allocations: 15.98 kB / 330.5 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.293e-05/0.09477, allocations: 8 kB / 330.5 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.617e-05/0.09487, allocations: 67.7 kB / 330.6 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.09499, allocations: 111.2 kB / 330.7 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.09537, allocations: 354.8 kB / 331 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.09538, allocations: 3.938 kB / 331 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.09539, allocations: 0 / 331 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.09541, allocations: 0 / 331 MB, free: 0.7148 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.000924/0.09634, allocations: 0.723 MB / 331.7 MB, free: 15.92 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.09638, allocations: 8.031 kB / 331.7 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.451e-05/0.09645, allocations: 42.73 kB / 331.8 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/0.09654, allocations: 44.41 kB / 331.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.09687, allocations: 278.3 kB / 332.1 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.0969, allocations: 4.375 kB / 332.1 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.09693, allocations: 12.38 kB / 332.1 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.09726, allocations: 121.7 kB / 332.2 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.09728, allocations: 0 / 332.2 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.09731, allocations: 7.984 kB / 332.2 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.09732, allocations: 8 kB / 332.2 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.09748, allocations: 55.97 kB / 332.3 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009658/0.09845, allocations: 460.4 kB / 332.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.0987, allocations: 94.55 kB / 332.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.09888, allocations: 84.89 kB / 332.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.0989, allocations: 0 / 332.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000447/0.09935, allocations: 206.7 kB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.903e-06/0.09937, allocations: 3.938 kB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009045/0.1003, allocations: 464 kB / 333.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.1004, allocations: 170.2 kB / 333.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007696/0.1012, allocations: 0.5129 MB / 334.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.1012, allocations: 37.7 kB / 334.3 MB, free: 13.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.1013, allocations: 101.9 kB / 334.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.1014, allocations: 27.66 kB / 334.4 MB, free: 13 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.1016, allocations: 81.41 kB / 334.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1017, allocations: 330.8 kB / 334.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1019, allocations: 51.97 kB / 334.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.102, allocations: 73.69 kB / 335 MB, free: 12.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.1024, allocations: 347.4 kB / 335.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1025, allocations: 0 / 335.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005219/0.103, allocations: 376.2 kB / 335.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.46e-05/0.1031, allocations: 126.8 kB / 335.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1031, allocations: 0 / 335.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1031, allocations: 0 / 335.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.482e-05/0.1031, allocations: 7.922 kB / 335.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1032, allocations: 4 kB / 335.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.1033, allocations: 12.03 kB / 335.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.1034, allocations: 40 kB / 335.8 MB, free: 11.45 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.0003243/0.1037, allocations: 374.3 kB / 336.2 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.1038, allocations: 43.52 kB / 336.3 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.299e-05/0.1039, allocations: 63.16 kB / 336.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1039, allocations: 4 kB / 336.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1039, allocations: 0 / 336.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1039, allocations: 0 / 336.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009464/0.1049, allocations: 0.8134 MB / 337.1 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1049, allocations: 3.938 kB / 337.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-06/0.1049, allocations: 0 / 337.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1049, allocations: 0 / 337.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.1049, allocations: 15.98 kB / 337.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1049, allocations: 0 / 337.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1049, allocations: 7.875 kB / 337.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.1056, allocations: 0.5214 MB / 337.7 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.106, allocations: 252.3 kB / 337.9 MB, free: 9.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.106, allocations: 8 kB / 337.9 MB, free: 9.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.1062, allocations: 11.98 kB / 337.9 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1063, allocations: 27.92 kB / 338 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.1063, allocations: 43.92 kB / 338 MB, free: 9.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004346/0.1068, allocations: 386.9 kB / 338.4 MB, free: 8.711 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1068, allocations: 0 / 338.4 MB, free: 8.711 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.1071, allocations: 48 kB / 338.4 MB, free: 8.664 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.0009174/0.108, allocations: 1.094 MB / 339.5 MB, free: 7.52 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.1086, allocations: 441.5 kB / 340 MB, free: 7.039 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1086, allocations: 0 / 340 MB, free: 7.039 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.1089, allocations: 373.6 kB / 340.3 MB, free: 6.625 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.1096, allocations: 127.1 kB / 340.5 MB, free: 6.504 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.1126, allocations: 2.73 MB / 343.2 MB, free: 3.66 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.113, allocations: 0.798 MB / 344 MB, free: 2.832 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.814e-05/0.113, allocations: 8.656 kB / 344 MB, free: 2.824 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.1131, allocations: 35.42 kB / 344 MB, free: 2.789 MB / 286.1 MB Notification: Performance of SimCode: time 3e-07/0.1131, allocations: 0 / 344 MB, free: 2.789 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4513/0.5643, allocations: 5.885 MB / 349.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/8.558, allocations: 0 / 349.9 MB, free: 12.79 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","/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) Reference file matches