Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 110.9 kB / 17.74 MB, free: 5.316 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.001174/0.001174, allocations: 188.4 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 55.92 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2831, allocations: 49.43 MB / 401.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00255/0.2856, allocations: 1.52 MB / 402.9 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.2874, allocations: 0.8481 MB / 403.8 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.2874, allocations: 0 / 403.8 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.644e-05/0.2875, allocations: 15.86 kB / 403.8 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.072e-05/0.2876, allocations: 15.84 kB / 403.8 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.2879, allocations: 59.88 kB / 403.9 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.2881, allocations: 147.7 kB / 404 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2882, allocations: 27.98 kB / 404 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004643/0.2887, allocations: 395.2 kB / 404.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.2888, allocations: 59.77 kB / 404.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.2889, allocations: 15.98 kB / 404.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.598e-05/0.2889, allocations: 12 kB / 404.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.289, allocations: 63.7 kB / 404.6 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2891, allocations: 111.2 kB / 404.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.2894, allocations: 366.6 kB / 405 MB, free: 5.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2894, allocations: 0 / 405 MB, free: 5.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2894, allocations: 0 / 405 MB, free: 5.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.2895, allocations: 0 / 405 MB, free: 5.398 MB / 318.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.000666/0.2901, allocations: 0.724 MB / 405.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.2902, allocations: 8.031 kB / 405.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.2902, allocations: 40.55 kB / 405.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.2905, allocations: 270.3 kB / 406.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2905, allocations: 12.31 kB / 406.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.2906, allocations: 8.375 kB / 406.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.2909, allocations: 129.9 kB / 406.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2909, allocations: 0 / 406.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.2909, allocations: 4 kB / 406.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2909, allocations: 0 / 406.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.2911, allocations: 55.97 kB / 406.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.2917, allocations: 472.4 kB / 406.7 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.2918, allocations: 94.55 kB / 406.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.292, allocations: 84.88 kB / 406.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.292, allocations: 4 kB / 406.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000324/0.2923, allocations: 202.6 kB / 407.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.2924, allocations: 0 / 407.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007434/0.2931, allocations: 474.5 kB / 407.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/0.2932, allocations: 162.2 kB / 407.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.2938, allocations: 0.5169 MB / 408.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.2938, allocations: 29.7 kB / 408.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.2939, allocations: 101 kB / 408.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.294, allocations: 27.7 kB / 408.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.2941, allocations: 81.42 kB / 408.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.2942, allocations: 330.8 kB / 408.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.2943, allocations: 51.97 kB / 408.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.2944, allocations: 77.67 kB / 408.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.2948, allocations: 339.2 kB / 409.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2948, allocations: 0 / 409.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004826/0.2953, allocations: 372.3 kB / 409.6 MB, free: 408 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.198e-05/0.2954, allocations: 130.8 kB / 409.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2954, allocations: 0 / 409.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2954, allocations: 0 / 409.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.116e-05/0.2954, allocations: 7.938 kB / 409.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2954, allocations: 0 / 409.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.2956, allocations: 19.83 kB / 409.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.2956, allocations: 44.05 kB / 409.8 MB, free: 180 kB / 318.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.0003371/0.296, allocations: 366.3 kB / 410.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.296, allocations: 43.47 kB / 410.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.459e-05/0.2961, allocations: 71.14 kB / 410.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2961, allocations: 3.984 kB / 410.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2961, allocations: 4.125 kB / 410.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2962, allocations: 0 / 410.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000949/0.2971, allocations: 0.8117 MB / 411.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2971, allocations: 0 / 411.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-06/0.2971, allocations: 0 / 411.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.2971, allocations: 4 kB / 411.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.2972, allocations: 8 kB / 411.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.2972, allocations: 7.984 kB / 411.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2972, allocations: 3.938 kB / 411.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.2979, allocations: 0.5213 MB / 411.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.2982, allocations: 248.5 kB / 411.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.2982, allocations: 4 kB / 411.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2984, allocations: 16 kB / 411.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.2985, allocations: 23.91 kB / 411.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.2986, allocations: 47.98 kB / 412 MB, free: 13.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004516/0.299, allocations: 390.9 kB / 412.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.299, allocations: 3.938 kB / 412.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000285/0.2993, allocations: 43.91 kB / 412.4 MB, free: 13.41 MB / 334.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.00015/0.2995, allocations: 115 kB / 412.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005094/0.3, allocations: 437.5 kB / 413 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3, allocations: 0 / 413 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.3003, allocations: 377.5 kB / 413.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.301, allocations: 126.1 kB / 413.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.3021, allocations: 0.6906 MB / 414.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.3026, allocations: 0.8059 MB / 414.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.3026, allocations: 11.44 kB / 415 MB, free: 10.71 MB / 334.1 MB Notification: Performance of SimCode: time 1.643e-06/0.3026, allocations: 4 kB / 415 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Templates: time 0.004502/0.3071, allocations: 2.585 MB / 417.5 MB, free: 8.098 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches