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: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 56.11 kB / 308.4 MB, free: 15.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09951/0.1007, allocations: 50.52 MB / 358.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002749/0.1035, allocations: 1.533 MB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1052, allocations: 0.8864 MB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.1053, allocations: 8 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.91e-05/0.1054, allocations: 7.875 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.1055, allocations: 15.86 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1057, allocations: 47.88 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1059, allocations: 155.7 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.84e-05/0.106, allocations: 23.98 kB / 361.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000394/0.1064, allocations: 379.3 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1065, allocations: 67.75 kB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.1066, allocations: 12 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.569e-05/0.1066, allocations: 8 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.881e-05/0.1067, allocations: 67.7 kB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1068, allocations: 111.2 kB / 362.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.1071, allocations: 358.8 kB / 362.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1072, allocations: 3.984 kB / 362.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1072, allocations: 4 kB / 362.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1072, allocations: 0 / 362.5 MB, free: 9.703 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.0006906/0.1079, allocations: 0.7187 MB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1079, allocations: 8.031 kB / 363.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.108, allocations: 40.47 kB / 363.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.1083, allocations: 274.3 kB / 363.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1084, allocations: 4.375 kB / 363.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.1084, allocations: 12.38 kB / 363.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.1087, allocations: 125.9 kB / 363.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.1087, allocations: 4 kB / 363.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.1087, allocations: 4 kB / 363.7 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1087, allocations: 3.938 kB / 363.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.1089, allocations: 59.95 kB / 363.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/0.1096, allocations: 468.4 kB / 364.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1098, allocations: 94.55 kB / 364.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.11, allocations: 88.88 kB / 364.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.11, allocations: 0 / 364.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.1103, allocations: 198.7 kB / 364.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.1104, allocations: 0 / 364.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007765/0.1111, allocations: 466.9 kB / 365.1 MB, free: 6.938 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.1112, allocations: 166.2 kB / 365.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/0.1119, allocations: 0.5207 MB / 365.8 MB, free: 6.207 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.1119, allocations: 33.7 kB / 365.8 MB, free: 6.168 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.112, allocations: 101.1 kB / 365.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.112, allocations: 27.64 kB / 365.9 MB, free: 6.039 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1121, allocations: 77.42 kB / 366 MB, free: 5.957 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1123, allocations: 326.8 kB / 366.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.1124, allocations: 63.91 kB / 366.4 MB, free: 5.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1125, allocations: 69.67 kB / 366.4 MB, free: 5.492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.1128, allocations: 343.4 kB / 366.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1129, allocations: 3.938 kB / 366.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004985/0.1134, allocations: 388.3 kB / 367.2 MB, free: 4.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.1135, allocations: 122.8 kB / 367.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1135, allocations: 128 / 367.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1135, allocations: 4 kB / 367.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.072e-05/0.1136, allocations: 4 kB / 367.3 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1136, allocations: 0 / 367.3 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.1137, allocations: 11.98 kB / 367.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.1138, allocations: 44.03 kB / 367.3 MB, free: 4.48 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.0003099/0.1141, allocations: 366.2 kB / 367.7 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.1142, allocations: 39.53 kB / 367.7 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.891e-05/0.1143, allocations: 71.12 kB / 367.8 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1143, allocations: 3.938 kB / 367.8 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1143, allocations: 0 / 367.8 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1143, allocations: 3.984 kB / 367.8 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009428/0.1152, allocations: 0.8049 MB / 368.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1153, allocations: 8 kB / 368.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-06/0.1153, allocations: 0 / 368.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1153, allocations: 0 / 368.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.1153, allocations: 15.98 kB / 368.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1153, allocations: 0 / 368.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1153, allocations: 3.938 kB / 368.6 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.116, allocations: 0.5252 MB / 369.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.1164, allocations: 252.3 kB / 369.4 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.1164, allocations: 16 kB / 369.4 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.1166, allocations: 8 kB / 369.4 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.1167, allocations: 31.89 kB / 369.5 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.193e-05/0.1167, allocations: 47.92 kB / 369.5 MB, free: 2.117 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004563/0.1172, allocations: 382.9 kB / 369.9 MB, free: 1.746 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.963e-06/0.1172, allocations: 0 / 369.9 MB, free: 1.746 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1175, allocations: 51.88 kB / 369.9 MB, free: 1.695 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.0001484/0.1177, allocations: 119.2 kB / 370.1 MB, free: 1.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006158/0.1183, allocations: 437.5 kB / 370.5 MB, free: 1.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1183, allocations: 0 / 370.5 MB, free: 1.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.1186, allocations: 377.6 kB / 370.9 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.1192, allocations: 121.1 kB / 371 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1695/0.2888, allocations: 0.6476 MB / 371.6 MB, free: 20.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2891, allocations: 0.8014 MB / 372.4 MB, free: 19.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.3e-05/0.2892, allocations: 9.766 kB / 372.4 MB, free: 19.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.2893, allocations: 13.06 kB / 372.4 MB, free: 19.92 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2893, allocations: 0 / 372.4 MB, free: 19.92 MB / 302.1 MB Notification: Performance of Templates: time 0.008925/0.2982, allocations: 4.521 MB / 377 MB, free: 19.59 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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