Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002296/0.002296, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 87.05 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.431e-05/2.44e-05, allocations: 4 kB / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.343, allocations: 47.56 MB / 362.3 MB, free: 45.81 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4764, allocations: 81.17 MB / 443.5 MB, free: 5.145 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.4768, allocations: 63.97 kB / 443.6 MB, free: 5.082 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1595/0.6363, allocations: 27.89 MB / 471.4 MB, free: 9.328 MB / 363.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6363, allocations: 0 / 471.4 MB, free: 9.328 MB / 363.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.6364, allocations: 5.594 kB / 471.5 MB, free: 9.324 MB / 363.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.0009007/0.6373, allocations: 0.6175 MB / 472.1 MB, free: 8.637 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.6374, allocations: 12.03 kB / 472.1 MB, free: 8.625 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.6375, allocations: 35.62 kB / 472.1 MB, free: 8.59 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.638, allocations: 263.6 kB / 472.4 MB, free: 8.289 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.6381, allocations: 8 kB / 472.4 MB, free: 8.281 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.6381, allocations: 8 kB / 472.4 MB, free: 8.273 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002265/0.6384, allocations: 63.92 kB / 472.5 MB, free: 8.211 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.6388, allocations: 129.6 kB / 472.6 MB, free: 8.078 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.6388, allocations: 0 / 472.6 MB, free: 8.078 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.6388, allocations: 4 kB / 472.6 MB, free: 8.074 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6388, allocations: 0 / 472.6 MB, free: 8.074 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.64, allocations: 461 kB / 473 MB, free: 7.586 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.6403, allocations: 94.52 kB / 473.1 MB, free: 7.484 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.6405, allocations: 84.89 kB / 473.2 MB, free: 7.398 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.6405, allocations: 4 kB / 473.2 MB, free: 7.395 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.641, allocations: 226.6 kB / 473.4 MB, free: 7.148 MB / 363.1 MB Notification: Performance of pre-optimization done (n=13): time 3.096e-06/0.641, allocations: 1.406 kB / 473.4 MB, free: 7.148 MB / 363.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009449/0.642, allocations: 309.2 kB / 473.7 MB, free: 6.84 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.6421, allocations: 166.2 kB / 473.9 MB, free: 6.641 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008952/0.643, allocations: 452.9 kB / 474.3 MB, free: 6.195 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.6431, allocations: 33.64 kB / 474.4 MB, free: 6.156 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.6432, allocations: 167.9 kB / 474.5 MB, free: 5.992 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.6433, allocations: 23.66 kB / 474.6 MB, free: 5.969 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.6433, allocations: 8 kB / 474.6 MB, free: 5.961 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6435, allocations: 322.8 kB / 474.9 MB, free: 5.637 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.6437, allocations: 51.98 kB / 474.9 MB, free: 5.586 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.6439, allocations: 59.98 kB / 475 MB, free: 5.527 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.644, allocations: 55.81 kB / 475 MB, free: 5.473 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.6441, allocations: 0 / 475 MB, free: 5.473 MB / 363.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007848/0.6449, allocations: 285.2 kB / 475.3 MB, free: 5.191 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.645, allocations: 122.8 kB / 475.4 MB, free: 5.047 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.6451, allocations: 1.031 kB / 475.4 MB, free: 5.047 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.6451, allocations: 4 kB / 475.5 MB, free: 5.043 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.429e-05/0.6451, allocations: 0 / 475.5 MB, free: 5.043 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.6451, allocations: 0 / 475.5 MB, free: 5.043 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.6454, allocations: 19.92 kB / 475.5 MB, free: 5.023 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/0.6456, allocations: 127.7 kB / 475.6 MB, free: 4.898 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.y,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002812/0.6459, allocations: 241.5 kB / 475.8 MB, free: 4.629 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.511e-05/0.646, allocations: 43.48 kB / 475.9 MB, free: 4.586 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.6463, allocations: 67.42 kB / 475.9 MB, free: 4.516 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6463, allocations: 4 kB / 475.9 MB, free: 4.512 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6463, allocations: 0 / 475.9 MB, free: 4.512 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6463, allocations: 0.625 kB / 475.9 MB, free: 4.512 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.6478, allocations: 0.6864 MB / 476.6 MB, free: 3.781 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6478, allocations: 0 / 476.6 MB, free: 3.781 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.6478, allocations: 3.953 kB / 476.6 MB, free: 3.777 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.6478, allocations: 3.938 kB / 476.6 MB, free: 3.773 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-05/0.6479, allocations: 19.98 kB / 476.7 MB, free: 3.754 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6479, allocations: 2.156 kB / 476.7 MB, free: 3.754 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6479, allocations: 8 kB / 476.7 MB, free: 3.746 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.6489, allocations: 430.9 kB / 477.1 MB, free: 3.309 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006289/0.6496, allocations: 244.5 kB / 477.3 MB, free: 3.051 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.6497, allocations: 15.95 kB / 477.3 MB, free: 3.035 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.65, allocations: 8 kB / 477.3 MB, free: 3.027 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.6502, allocations: 31.95 kB / 477.4 MB, free: 2.996 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/0.6504, allocations: 123.8 kB / 477.5 MB, free: 2.875 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0007164/0.6512, allocations: 378.7 kB / 477.9 MB, free: 2.508 MB / 363.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6512, allocations: 0 / 477.9 MB, free: 2.508 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0004596/0.6516, allocations: 40 kB / 477.9 MB, free: 2.469 MB / 363.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002055/0.6519, allocations: 111 kB / 478 MB, free: 2.352 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0007139/0.6526, allocations: 433.5 kB / 478.4 MB, free: 1.879 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6526, allocations: 0 / 478.4 MB, free: 1.879 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004849/0.6531, allocations: 373.6 kB / 478.8 MB, free: 1.465 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.654, allocations: 109.8 kB / 478.9 MB, free: 1.355 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.6555, allocations: 0.5632 MB / 479.5 MB, free: 0.7617 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.6562, allocations: 0.8102 MB / 480.3 MB, free: 15.92 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.6562, allocations: 16.03 kB / 480.3 MB, free: 15.91 MB / 379.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6563, allocations: 0 / 480.3 MB, free: 15.91 MB / 379.1 MB Notification: Performance of Templates: time 0.009505/0.6658, allocations: 3.86 MB / 484.2 MB, free: 12.03 MB / 379.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches